homepage Welcome to WebmasterWorld Guest from 54.166.128.254
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Hide / show form field
adammc

10+ Year Member



 
Msg#: 3720073 posted 4:09 am on Aug 11, 2008 (gmt 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.

 

nelsonm

5+ Year Member



 
Msg#: 3720073 posted 4:38 pm on Aug 12, 2008 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved