We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,194 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

form validation

hi
i have a form which has 5 textboxes i want to add the values of all this 5 text boxes and place the result in total text box automatically
how do i do this pls giv me some code

3
Contributors
2
Replies
1 Day
Discussion Span
9 Months Ago
Last Updated
3
Views
shehnaz1991
Newbie Poster
12 posts since Jul 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

when you want to add and display the result... I mean to say on which event you want.

vishalonne
Junior Poster
185 posts since Jun 2009
Reputation Points: 22
Solved Threads: 0
Skill Endorsements: 0

Your requirement is not clear.

1)When you said automatically calculate the total of addition, does it mean each time you type in a number? Or each time you change the whole number? Or each time you click a button?
2)Where is your HTML?

Taywin
Posting Maven
2,633 posts since Apr 2010
Reputation Points: 275
Solved Threads: 375
Skill Endorsements: 17

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0649 seconds using 2.77MB