PDA

View Full Version : onClick un-hide form element, re-hide on 'save' button click?



functionista
01-12-2008, 05:40 PM
I'm trying to use Javascript to show a CSS-hidden form element (input w/button), allow users to type something in the field, then when they click a 'submit' button it should re-hide the form and actually post it when the final form 'submit' button is pressed.

Is this possible? I will have multiple instances of this on a page which will need to operate independently, but all within the same form.