hi,<br> I have a textbox on my page and that holds a certian <br>value. Now I need CF to read that value.<br> How do I go about doing something like that ??<br><br>F/S <p> <br><a href=mailto: > </a><br><a href=
Using this template:<br><form action="actionpage.cfm" method="post"><br><input type="text" name="myparam" value="some text"><br><input type="submit" value="submit"><br></form><br><br>You can get the value of the text box on actionpage.cfm by using the parameter form.myparam, like<br><cfoutput>#form.myparam#</cfoutput><br><br>or<br><br><cfif form.myparam is "some text"><br>...processing code<br></cfif><br><br>etcetera....<br><br>Hope this helps...
well yeah ..that works one way ... but the way i want it is<br>like this :<br><br>There are 2 select boxes and a text box.<br>Click on selectbox1 and bunch of values open up in selectbox2<br>click on one of the values in selectbox2 and the<br>text box gets a number.<br><br>notice the numbers are changing all the time. Cause the<br>user can constantly change his choice.<br><br>NOW, consider a variable in CF #tb_val#<br><br>before I click the submit button the CF variable #tb_val#<br>should hold the value of the text box!<br><br>can this be done ???<br><br>regards<br>f/s <br><br> <p> <br><a href=mailto: > </a><br><a href=
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.