joomla - How can i make custom form module joomla3.x -
<select name="a"> <option value="1">volvo</option> <option value="2">saab</option> </select> <select name="b"> <option value="1">test1</option> <option value="2">test2</option> </select> <input type="submit" >
after submit, want show result , b. example:
if($_post['a']==1 && $_post['b']==2){ echo 'true'; }else{ echo '0'; }
is possible in joomla?
you have enclosed input fields form tag. example
<form method="post"> <select name="a"> <option value="1">volvo</option> <option value="2">saab</option> </select> <select name="b"> <option value="1">test1</option> <option value="2">test2</option> </select> <input type="submit" > </form>
hope help
Comments
Post a Comment