I have a custom form for a SQLFORM.factory. The form has two buttons:
<button type="submit" name="action" value="action1"></button> <button type="submit" name="action" value="action2"></button> Clicking either button will submit the form and request.vars will have the correct value. This works great until I try to LOAD my form as a component. I was able to find out that when I LOAD my form, request.vars no longer contains action as it used to upon clicking either action button. What can I do to have the above buttons function similarly in a LOADed component? Thank you in advance for your help. -David Bloom