John,
Thanks, that works a treat. I am now trying to put the cursor back in the box after I have cleared the the text after an incorrect user input. The text clears ok using 'crmForm.all.new_minbidvalue.datavalue = ""' =but the cursor moves onto the next box. Even if I add the code...
Dan,
Perhaps this was the wrong forum. It is specific to java scripting on CRM and since no-one seems to know know about CRM then I'll post it on another forum.
Thanks anyhow.
How do I get text from the text box in java script. I want to get text from a text box in the bid form onChange. An example piece of code would be nice.
kaht,
Thanks for the smart comments. Unfortunately you have missed the point. I can write a simple script to get a value nd check it, as you have, but what I want to know is how to get the text from the CRM text box; this is more a CRM question than generic java script.
How do I get the text from a text box to compare it.
What I want to do is take the value onChange from the 'value' text box and check that it is greater than 100, if not then alert the user the value is incorrect, clear the value they entered and put the cursor back in that box.
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.