Thread: text box
View Single Post
Old 12-07-2012, 09:37 AM   PM User | #2
Custard7A
Regular Coder

 
Custard7A's Avatar
 
Join Date: Jul 2010
Location: Australia
Posts: 269
Thanks: 32
Thanked 32 Times in 32 Posts
Custard7A is an unknown quantity at this point
You can do that with Javascript instead. At that point you are still waiting for the user to enter some data, so you would want them to do so before sending it off to be processed by your PHP script.

It may be more appropriate if the name input field is already avaliable to be filled-out. You should bear in mind that a submit button (in the format of a submit button) will usually be expected to submit the page, not progress to another step.
Custard7A is offline   Reply With Quote
Users who have thanked Custard7A for this post:
gayathri (12-07-2012)