Veechaar-The Insight:A blog on Web2.0,Technology,Internet

April 20, 2009

Disable submit Button After one submission

Some times there is a situation when we want to submit something only for one time.
Like you want to collect users feedback on someting but only one feedback.
this can be achieved very easly.
This is the HTML code for that.
<html><head>
</head>
<title></title>
<body>
<form action=”newsletter.php” method=”post” >
Email <input type=”text” name=”email” /><br />
<input type=”submit” name=”Submit” value=”Save” onclick=”this.disabled=true;return true;”>
<input type=”hidden” name=”validation” value=”false”>
</form>
</html>
</body>
newsltter.php have serverside code.(i have chosen PHP for this.)
Enjoy

Advertisements

6 Comments »

  1. Hi, good post. I have been pondering this topic,so thanks for sharing. I will definitely be subscribing to your blog.

    Comment by How I Lost Thirty Pounds in Thirty Days — May 4, 2009 @ 4:25 am

  2. Не смущай девушек своей наивностью.
    НЕИЗВЕСТНЫЙ.

    Comment by lorypoepeme — May 7, 2009 @ 7:02 pm

  3. Брак – это форма полового извращения, при которой испытывается потребность отдавать лучшие годы жизни, здоровье и деньги в обмен на неуважение и отказ в сексе.
    НЕИЗВЕСТНЫЙ.

    Comment by teedsipiext — May 7, 2009 @ 8:32 pm

  4. То что бредомысли это точно 🙂
    Видно настиг творческий кризис. Мысле нет о чем писать 🙂

    Comment by Marinkina — May 21, 2009 @ 11:57 pm

  5. Thanks for comment. I will try to give good content. 🙂

    Comment by pankaj sharma — May 29, 2009 @ 12:14 pm

  6. I bookmarked this link . Thank you for good job !

    Comment by piss — April 24, 2010 @ 12:21 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: