All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Form and results on the same page

Diego - Oltremedia s.a.s. 29 Jun 2018 12:59 question, complete

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

  1. 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.

  2. Diego - Oltremedia s.a.s. 29 Jun 2018 15:35

    Many thanks! Working.