help with form input

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 21st, 2008, 03:47
Banned Member
Join Date: Jan 2008
Location: Puerto Rico
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote

  #2 (permalink)  
Old Jan 21st, 2008, 05:22
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
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
Reply With Quote
  #3 (permalink)  
Old Jan 21st, 2008, 19:20
New Member
Join Date: Jan 2008
Location: Australia
Age: 18
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4 (permalink)  
Old Jan 21st, 2008, 19:27
Banned Member
Join Date: Jan 2008
Location: Puerto Rico
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: help with form input

How made de voting systems for html and thanks
Reply With Quote
  #5 (permalink)  
Old Jan 21st, 2008, 21:32
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,662
Thanks: 0
Thanked 9 Times in 9 Posts
Re: help with form input

Do you know a programming language such as PHP or .NET?
Reply With Quote
  #6 (permalink)  
Old Jan 21st, 2008, 22:27
Reputable Member
Join Date: Jan 2008
Location: Pasig
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #7 (permalink)  
Old Jan 23rd, 2008, 01:34
Banned Member
Join Date: Jan 2008
Location: Puerto Rico
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 20:18.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43