Dossy wrote:

> You can't issue a URL redirect and instruct the browser to access
> the URL using the POST method.
>
> You're better off having your form ADP page submit back to itself,
> and in the form ADP page, check for a hidden form field (like "action")
> and make sure it equals something sensible (like "submit").  I'd
> suggest making the submit button name="action" value="submit" but
> if you need to support MS IE browsers, you're not guaranteed that
> the submit button's name/value will be submitted with the form (if
> the user hits enter in a text-input field, for instance).
>
> If your ADP page sees action=submit, it should perform the validation.
> If validation fails, re-display the form with fields pre-populated
> and the error message displayed.  If validation succeeds, do whatever
> you want with the data (save to database, etc.) then URL redirect
> the user to the next page they should be seeing.
>
> That's what I do, in any case, and it works for me.

this is what i do too and it works pretty well
once you get the hang of it...

-mike

Reply via email to