Is there a way I can use javascript/web2py to make a self submitting form that has some required fields, but also has a button, that, when clicked, adds another field? Actually, I need it to add two fields, in a way that works as a dictionary = one form's content acts as the way to call the other from the object, once submitted. These could be stored simply as data in the row, or preferably all of them would be stored as a single sub-dictionary.
Is there any built-in way I can do this?