I understand i can achieve this for links by inserting "cid=request.cid"
into the A helper.
However, if I have my form in a component's view as below, how can I
achieve the same thing?
<form action="{{=URL(c='filter', f='filter', args=(applicationid,
entity_id, 'select_field') )}}">
<select name="myselect" id="myselect" onchange="this.form.submit()">
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
<option value="4">Four</option>
</select>
</form>
This will, upon form submit, open the component "filter" in a new full
empty screen now.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.