Stevens
11-04-2003, 01:56 PM
Can I use a submit button in an HTML form to run PHP code on the current page without reloading the page completely after hitting submit?
Example...I have the following HTML...
<input type="text" name="excess1">
<input type="submit" name="verify1" value="Verify ->">
<input type="text" name="model1">
The purpose here is to verify that the information entered in the "excess1" text box is correct. When the info is entered and the "verify1" button is hit, I want a quick lookup to my db to be done and the appropriate info to populate the "model1" text box. The problem is that I have 9 other sets just like this that is going to be part of the same form for submittal. Can the form be handles without reloading the entire page?
E
Example...I have the following HTML...
<input type="text" name="excess1">
<input type="submit" name="verify1" value="Verify ->">
<input type="text" name="model1">
The purpose here is to verify that the information entered in the "excess1" text box is correct. When the info is entered and the "verify1" button is hit, I want a quick lookup to my db to be done and the appropriate info to populate the "model1" text box. The problem is that I have 9 other sets just like this that is going to be part of the same form for submittal. Can the form be handles without reloading the entire page?
E