Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Form validation
February 10, 2005, 12:47 pm
rate this thread
(http://www.nprie.info/content.php?pn=12&frm3~5 ). When the user submits
the form various validation checks are completed by another PHP script.
If any of these fail, the user is redirected back to the form. The
content that they submitted is retained and sent back in the URL and
picked up by another script and inserted into the fields.
My problem is with memo fields as this method of returning the data
seems to chop off anything after the first newline or carriage return.
I presume it would be better to POST this information back but how do I
do this from PHP without a SUBMIT button???
Many thanks for your continued help.
Hope all that makes sense - see the website which should clarify the
p.s. the &frm3~5 in the link simply ensures that my name appears in the
"TO" box so if you test the script spurious messages don't go to my
- Alvaro G. Vicario
February 11, 2005, 4:57 am
Re: Form validation
Do you use urlencode()? URLs cannot contain, among many other chars,
-+ Álvaro G. Vicario - Burgos, Spain
+- http://www.demogracia.com (la web de humor barnizada para la intemperie)
++ Manda tus dudas al grupo, no a mi buzón
-+ Send your questions to the group, not to my mailbox