This is a discussion on "help with form input" within the Web Page Design section. This forum, and the thread "help with form input are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
help with form input
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
help with form input
I have this form and what I want is that every time you press the button Vote in the text that appears join a number more, if it appears Example one to push the button will appear if a 2 appears repeat 3
<form name="Vote"> <input type="text" value="" name="sky"> <input type="hidden" value="1" name="blue"> <input type="button" value="Vote" onClick="document.Vote.sky.value =(document.Vote.blue.value)"> </form> thanks I want add, everytime I click the button Vote add one number. Example I click the Button and appears the number 1, when again click the button appears the number 2 and this repeat every time. Last edited by gncreditcards; Jan 21st, 2008 at 15:29. Reason: new Question |
|
|
|
|||
|
Re: help with form input
Could you take a deep breath before posting your question
Your question seems very hard to understand.. Cheers...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by c010depunkk; Jan 21st, 2008 at 05:52. Reason: sp :D |
|
|||
|
Re: help with form input
I agree. What i think gncreditcards is requiring here is some sort of simple voting system, that after a client, member or visitor clicks vote, the number that corresponds to his/her vote will appear.
If i am right please let me know, i may have a php solution for you. Regards, Nick |
|
|||
|
Re: help with form input
How made de voting systems for html and thanks
|
|
||||
|
Re: help with form input
Do you know a programming language such as PHP or .NET?
|
|
|||
|
Re: help with form input
Actually, a simple Php/Mysql can do that. A simple voting system that will show the votes of a user.
|
|
|||
|
Re: help with form input
I Resolve the problems and now need that the same person can not push the button several times as merely that user .
<script> function goupone(){ var v=document.Vote.sky.value; vi=parseInt(v); vi=vi+1; document.Vote.sky.value=vi; } </script> </head> <body> <form name="Vote"> <input type="label" value="1" name="sky" size="2" > <input type="button" value="Vote" onClick="goupone();"> </form> The same IP can't vote in the same day. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hiding / Showing form fields based on previous form input | John Alexander Hopper | PHP Forum | 1 | Mar 10th, 2008 11:30 |
| adding a field input to the subject in a form | goatsalad | PHP Forum | 1 | Feb 3rd, 2006 14:49 |
| 2 similar input validations on one form | bldstr | JavaScript Forum | 3 | Jan 30th, 2006 21:27 |
| Anybody know how to change the color of a text input form in | Physt | Web Page Design | 7 | Aug 16th, 2004 08:44 |
| <Input> to Requst.form() puzzle. | Whitemirc | Classic ASP | 2 | Nov 6th, 2003 09:27 |