disable submit

L

Licass

hi ,
i have this form populated from the server (using the db results wizard fro
FP) and if it´s possible to disable the the submit button when the the value
of a field in the form is equal a ex = "reservada". I need help to implement
this. I´have not good programming skills


thanks
 
M

MD Websunlimited

<input type="submit" onclick="if (this.form.thatfield.value == 'reservada') { return false } else { return true }" value="Submit" >
 
L

Licass

sorry maybe this is on page load??
MD Websunlimited said:
<input type="submit" onclick="if (this.form.thatfield.value ==
'reservada') { return false } else { return true }" value="Submit" >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top