try
<FORM METHOD=POST name="hs" action="">
<@CHOICELIST NAME="password" TYPE="select" OPTIONS="@@programs"
SIZE="" CLASS="" STYLE="" onChange="document.forms
['hs'].action='<@APPFILE>?_function=password'; document.forms
['hs'].submit();" VALUES="@@file" SELECTED="None">
notice that i have an empty action at first
also using the onChange.
but you needed to do submit();
Ben
On Oct 30, 2007, at 5:19 PM, Dan Stein wrote:
OK I have the syntax but it does not seem to work as onChange, onBlur
or OnFocus. Not sure whatI should use for a select list to work
correctly or do I have someother error
<FORM METHOD=POST name="hs">
<@CHOICELIST NAME="password" TYPE="select" OPTIONS="@@programs"
SIZE="" CLASS="" STYLE="" onFocus="document.forms
['hs'].action='<@APPFILE>?_function=password' " VALUES="@@file"
SELECTED="None">
</FORM>
You can see it in non action here.
http://gr.dss-demo.com/reg_p_login.taf
<[email protected]> wrote:
Using <@choicelist> I want the form to submit when the user select
something from the choice list.
There appears to be a onChange listed in the docs I am not sure what
syntax goes in there to submit the form.
Thanks
Dan
--
Dan Stein
FileMaker 7 Certified Developer
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Cell: 610-256-2843
Fax 215-799-0192 ( Call 1st)
FMP, WiTango, EDI,SQL 2000, MySQL, CWP
[EMAIL PROTECTED]
www.dss-db.com
"I destroy my enemies when I make them my friends."
Abraham Lincoln
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
-- Dan Stein MSN Certified FileMaker 7 Developer Digital Software
Solution, LLC 799 Evergreen Circle 215-799-0192 610-256-2843
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf