Auto submit a form

I have a use case where a form should be submitted automatically when
the view is rendered ( a textfield is already filled out by the app)
can I use a hidden field and an observe_field on it to detect when it
has be changed or is there another way of doing it ???

thanks for you help

kad

Kad K. wrote:

I have a use case where a form should be submitted automatically when
the view is rendered ( a textfield is already filled out by the app)
can I use a hidden field and an observe_field on it to detect when it
has be changed or is there another way of doing it ???

thanks for you help

kad

I could imagine something with

function onload() {
formNAME.submit();
}

and then