[FX.php List] Re: Execute submit button when arriving to a page?

Jim Bowser jim at grouptour.com
Sun Aug 13 06:42:28 MDT 2006


Rob-

I've been using that code too, but I'm a little nervous about the
possibility that someone's javascript may be disabled.  Is that a real
concern?

Jim Bowser
Webmaster, GroupTourMedia.com


On 8/13/06 7:35 AM, "Rob H. Christensen" <robhelleshoj at tiscali.dk> wrote:

> 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
> 
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list