Welcome to WebmasterWorld Guest from 54.147.63.124

Forum Moderators: open

Message Too Old, No Replies

Hide / show form field

     
4:09 am on Aug 11, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:Sept 1, 2004
posts: 389
votes: 0


Hi guys,

I hope I have posted this in the right category?

Can anyone advise me on how I could hide this form field using some sort of yes no radio checkbox

Postal Address - same / different

** If different is selected the field below is displayed.

<label for="postal_address">
Postal Address:<br />
<textarea type="text" name="postal_address" rows="3" cols="25"><?php if(isset($_POST['postal_address'])) echo $_POST['postal_address'];?>
</textarea>
</label>

Any help would be greatly appreciated.

4:38 pm on Aug 12, 2008 (gmt 0)

Full Member

5+ Year Member

joined:June 30, 2008
posts: 318
votes: 0


I have read several posts on this forum on how to do this. Just search for "show/hide form field" or something similar.