Skip to main content
August 8, 2006
Question

If error submit can I use php & it returns with kept details?

  • August 8, 2006
  • 22 replies
  • 1258 views
Hi I was wondering if using php I can check the registration form for errors e.g. not filled out when required and upon return they can still have the details they already submitted still there so they don't have to re-fill the form.
Thanks for you help.
This topic has been closed for replies.

22 replies

August 10, 2006
Thank you I will try that.
array_key_exists is a new term for me. I just read about it.
Now will I have to use anything with the submit button to return the form for this process or will php take care of that as is?
Thank you.
Inspiring
August 9, 2006
Sure.

<input name="firstname" type="text" id="firstname" value="<?php
echo(array_key_exists('firstname',$_POST))?$_POST['firstname']:'Enter Your
First Name'); ?>">

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"jjjhbj111" <webforumsuser@macromedia.com> wrote in message
news:ebb7ed$i7n$1@forums.macromedia.com...
> Hi I was wondering if using php I can check the registration form for
> errors
> e.g. not filled out when required and upon return they can still have the
> details they already submitted still there so they don't have to re-fill
> the
> form.
> Thanks for you help.
>


August 17, 2006
Hi Murray I tried this out but all I get is a white screen. Any suggestions?