display text field based on the selection choices

J

John Davis

I want to display credit card fields when the user selects the option paid
membership. If user selects the option free membership, then the credit card
text field will disappear. Here's the code I did with JavaScript but didn't
work.
 
A

Adrienne

I want to display credit card fields when the user selects the option
paid membership. If user selects the option free membership, then the
credit card text field will disappear. Here's the code I did with
JavaScript but didn't work.

What about users without javascript?

You could always do something put the option on page one, then test for the
value of the option on the next page, and generate the credit card based on
that.
 

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

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top