antonken
May 8th 2008, 2:15 am
Hi experts,
This is my first post. Nice to meet you all guys.
I have a coding issue.
In my form, I have 4 radio buttons.
1. Check
2. Money Order
3. Visa
4. Mastercard
Then I have a 4 credit card fields in the form of xxxx - xxxx - xxxx - xxxx
When user chooses either Check or Money Order, the four fields for credit card number are to be disabled.
But when user clicks on Visa or Mastercard, the credit card fields are to be enabled.
Any experts can show me how to group enable and disabled 4 input fields at one go?
Sorry, I can only do it for 1 input field but not all 4.
Thanks for help!:)
This is my first post. Nice to meet you all guys.
I have a coding issue.
In my form, I have 4 radio buttons.
1. Check
2. Money Order
3. Visa
4. Mastercard
Then I have a 4 credit card fields in the form of xxxx - xxxx - xxxx - xxxx
When user chooses either Check or Money Order, the four fields for credit card number are to be disabled.
But when user clicks on Visa or Mastercard, the credit card fields are to be enabled.
Any experts can show me how to group enable and disabled 4 input fields at one go?
Sorry, I can only do it for 1 input field but not all 4.
Thanks for help!:)