Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CF and javascript

Status
Not open for further replies.

newbby

Programmer
Mar 16, 2004
36
US
Hi,
Please help me figure, how to write this form validations in javascript.
when a user selects the value "ON" from a select drop down list,
I have to figure that the sum of all the intWorkDone should be <=200.

<form action="update.cfm" method="post">

<cfoutput>
<cfloop from="1" to="#queryName.recordcount#" index="i">

<input type="text" name="StrName" value="#queryName.Name#">

<select name="strSelect">
<option value="ON">ON
<option value="OFF">OFF
</select>

<input type="text" name="intWorkDone" value="#queryName.WorkValue">

<input type="submit" name="" value="Update">

</cfloop>
</cfoutput>
</form>

Thanks
 
You need to try the javascript forum. forum216

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top