The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
re-enter form field values for TEXTAREA - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17) +--- Thread: re-enter form field values for TEXTAREA (/showthread.php?tid=1508) |
re-enter form field values for TEXTAREA - braven - Aug 6th, 2011 I've been able to make my forms re-fill the fields after one is kicked out for entering the wrong Image Verification.. all except for the Textarea field. Is the Textarea field different in this regard? In this case, we are using the form to collect Testimonials.. so if someone just spent a lot of time singing our praises, and that info is lost when they enter the wrong image verification, they may just go away mad... lol Thanks! Billie RE: re-enter form field values for TEXTAREA - Ben - Aug 7th, 2011 Hi Billie, Haha, no kidding - kind of important... But no, there's nothing special that needs to be done with textareas - except that with textareas, the default content appears WITHIN the tag, not within a value attribute. e.g. Code: <textarea name="thefield"><?php echo $fields["thefield"]; ?></textarea> Something like that doesn't work for you? - Ben RE: re-enter form field values for TEXTAREA - braven - Aug 7th, 2011 GENIUS!!!!! That did it, thank you so much for the assistance and even MORE for this fantastic script! RE: re-enter form field values for TEXTAREA - braven - Aug 7th, 2011 GENIUS!!!!! That did it, thank you so much for the assistance and even MORE for this fantastic script! |