Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Returning form validation msg from an action script without Javascript Re: Returning form validation msg from an action script without Javascript

#46607
ChrisBull
Member

Well, I was just thinking of (on error) giving a variable a value, and then echoing that value on the form page after the redirect

That would be done using the code it posted.
Using sessions just seems a long winded way to get something simple done. They lack the flexibility that having a 1 page form and validation would have. You would also have to clear the sessions after each form submission. Also from a small point, the more page requests the site is making will slow it down.