[FX.php List] Re: Execute submit button when arriving to a page?
Rob H. Christensen
robhelleshoj at tiscali.dk
Sun Aug 13 05:35:42 MDT 2006
Hi Jonatham
If you just want to submit a form, when entering the page, a small piece of
JavaScriot will do it:
"<body onLoad="document.forms[0].submit()">"
I use this to send the user to another page with some required data in
hidden fields in the form.
Rob
> I have a search and display page set up the way I want it. If no
> data is entered in the search field, it defaults to find all with a
> max of 100 records, sorted by a certain field. The sortfield is
> established in an input statement in the form on the page. So far
> so good.
>
> Now, I've added site navigation links that include landing on this
> page. Is there a way to invoke the existing submit button on the
> form upon arriving, thus establishing the sort field? Or, do I need
> to define this again elsewhere on the page?
>
> Thanks
>
> J
> --
>
> Jonathan Schwartz
> Associate Member, FileMaker Solutions Alliance
> FileMaker 8 Certified Developer
More information about the FX.php_List
mailing list