This topic is locked

Simple search and radio button group

5/27/2020 11:46:59 AM
PHPRunner General questions
W
wpl author

Hello listers,
maybe somebody can point me in the right direction. On a list page with simple search, I placed a radio button group next to the search field

(I did this via "insert snippet" in page designer).



echo '<input type="radio" name="op" id="and" value="AND" />AND <input type="radio" name="op" id="or" value="OR"/>OR';


The button group shows up, any element can be selected - but, how do I manage to submit the

value of the selected radio button together with the text in the search field when the search button is clicked, e.g.



http://servername/app_path/table_list.php?qs=someword&op=AND'>http://servername/app_path/table_list.php?qs=someword&op=AND (or OR)


instead of



http://servername/app_path/table_list.php?qs=someword


TIA and regards