Form and results on the same page
Hello,
there's a way to understand if page has been submitted and then I want to display result tag, of it has not submitted and then I want the form, using not-encrypted query? (using encrypted query it's easy, I can check the existance of the query segment).
I managed to do this using php code (an isset on $_GET array), but can I do this without it?
Thanks,
Diego Burgio
Replies
Low 29 Jun 2018 14:07
You should be able to use the native {current_query_string} variable in a conditional. Just check if it's empty or not.
Diego - Oltremedia s.a.s. 29 Jun 2018 15:35
Many thanks! Working.