Answers
Nov 24, 2008 - 12:48 PM
i.e. function disable_controls( state) {
well this goes thru and does the disabling/enabling. If you wanted specific fields only, you can specify the name
eg frm.MyFieldName.disabled =
MyFieldName is what you have defined in your form, where each
so lets create a new method just to show you
function disable_my_controls( state) {
var frm = document.forms[0] ;
frm.username.disabled = state
frm.uemail.disabled = state
frm.ulocation.disabled = state
}
Now you call this instead of disable_controls
i.e.
The click method calls the javascript function disable_my_controls instead of disable_controls (in your current code)
Note, in your current code, the name of the field for username is uemail. i.e.
I dont think thats right. So in my example, Ive called it username.
Obviously it is just an example, yo uneed to change it to whatever fields you want.
Hope this makes sense, just shout if you get stuck
Good luck!
Nov 24, 2008 - 01:01 PM
Nov 24, 2008 - 01:14 PM
Jan 05, 2009 - 06:43 AM
* - Required | |||||||||||||||||||
Contact Form for SOST | |||||||||||||||||||
|
| ||||||||||||||||||
IsRepresentativePayeeInvolved? * | |||||||||||||||||||
Yes: No: | |||||||||||||||||||
Reppayeessn: | * | ||||||||||||||||||
ZipCode: | * | ||||||||||||||||||
orgainizationname: | * | ||||||||||||||||||
* | |||||||||||||||||||
Problem/Question | Comment | * * | |||||||||||||||||
Add New Comment