You can do this or equivalent using web2py helpers: <a class="button" onclick="$(this).prevAll('form').submit();"\>Submit</ a>
On Nov 30, 3:15 pm, thodoris <pasxi...@gmail.com> wrote: > Is there a way to change the submit button into clickable text? > > Lets say i have this form: > > form = SQLFORM.factory(Field('my_table')) > > and i can do > > table = form.element(....) to get the element > table.append(INPUT(_type='submit', _value='submit')): this appends the > submit button next to the element > > but is there a way to call submit for an A, like this ??? > > table.append(A('Submit',_type='submit', _value='submit')))