| View previous topic :: View next topic |
| Author |
Message |
simonhelps
Joined: 24 May 2006 Posts: 5
|
Posted: Tue Sep 19, 2006 12:25 pm Post subject: Display a field only if conditions in another field is met |
|
|
Hi,
I would appreciate some help. I have a drop down box with selections for Australian states plus an option for "Outside Australia". I would like to have a field below that shows a text box called "Country" that only shows if "Outside Australia" is selected otherwise is not visable. Is this possible? And if so how do I do it?
I would also like to extend this concept if possible so that if a tick box "Delivery address different to Billing address" is ticked the address fields for a delivery address appear otherwise they do not appear.
Many thanks
in advance
Simon |
|
| Back to top |
|
 |
formfields
Joined: 01 Aug 2005 Posts: 465
|
|
| Back to top |
|
 |
simonhelps
Joined: 24 May 2006 Posts: 5
|
Posted: Tue Oct 03, 2006 7:55 pm Post subject: |
|
|
Thanks for your reply. The examples that you give are not exactly what I am trying to do.
I would like the checkbox to be under the billing country field with text saying "Is the mailing address different to billing address?".
If this box is ticked then a java function then displays the mailing address fields.
If the box is left unticked the mailing address fields are not displayed to the user.
Also in the example you give here:-
fyi -this works except the javascript is not dynamically refreshing. If for example the user ticks the box and then changes their mind and unticks the box - you are unable to enter data into the mailing address fields without refreshing the page first.
Thanks for your help. |
|
| Back to top |
|
 |
formfields
Joined: 01 Aug 2005 Posts: 465
|
|
| Back to top |
|
 |
|