+ 3
Submit Form to the same page
Since all codes here are single page, I'd like to know if there's a way in the SL Playground to POST/GET the form data to the same page and then process it. Is there?
2 odpowiedzi
+ 2
leave action empty
+ 1
You can use javascript to validate on submit which in here it's probably the best you can use.
But in real life you would want to use something like AJAX with PHP which give you server-side access on demand and a lot safer.