homepage Welcome to WebmasterWorld Guest from 50.17.79.35
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Hide / show form field
adammc




msg:3720075
 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




msg:3721242
 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