Links for php scripts

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 124
Joined: Sun Feb 29, 2004 6:26 am

Wed Jul 07, 2004 8:15 am

how to do validation for register a user system? if the data is wrong the go to same page and the cursor is on that field. how to do, show me please,,, thanks

New php-forum User
New php-forum User
Posts: 180
Joined: Fri Mar 07, 2003 4:59 pm

Thu Jul 08, 2004 4:01 pm

sounds like you need javascript there, i would rather just highlight the areas that you need the user to fill out with a different color (red commonly)
so instead of the initial
you could have
also you can add asterisks so it would be easyer to notice
* Name: *

in case you didnt get what i said before, this is how your page will work:
output the initial form
user will fill it out and click submit and all the data will be sent to the next page
form "checker" script will run through and find a field not filled out and give out a warning message to the user along with a button to click and a hidden form with all the previous fields
a form will open again, but this time certain fields will be highlited, but the data will still be intact
hope this helps...

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests