Re: can't seem to get form in structKeyExists

2006-06-07 Thread Rodney Enke
Ony form fields, not the form name, get passed in with the form variables. Change your if statement to the following: That should fix it. - Rod On 6/7/06, Daniel Kessler <[EMAIL PROTECTED]> wrote: > > > function county_nav(the_loc){ > document.county_form.action=String(the_loc); >

Re: can't seem to get form in structKeyExists

2006-06-07 Thread daniel kessler
oh man, that was a big duh. I was afraid that it might be. I guess I'm not all here today. thank you very much everyone for your help. > to check for the country in the form >that has been posted. you don't need the "_form" part ? > >On 07/06/06, Daniel Kessler <[EMAIL PROTECTED]> wrote: >> ~

Re: can't seem to get form in structKeyExists

2006-06-07 Thread Nick Tong - TalkWebSolutions.co.uk
to check for the country in the form that has been posted. you don't need the "_form" part ? On 07/06/06, Daniel Kessler <[EMAIL PROTECTED]> wrote: > > > function county_nav(the_loc){ > document.county_form.action=String(the_loc); > document.county_form.submit(); > } > > > >

Re: can't seem to get form in structKeyExists

2006-06-07 Thread Charlie Griefer
country_form is the name of your form. the name of the form itself is not included as a key in the form struct/scope. try , since 'fieldnames' is always present as a comma-delimited list of fields that are passed in the form. you could also just use any field name...but the name of the form itse

RE: can't seem to get form in structKeyExists

2006-06-07 Thread Everett, Al \(NIH/NIGMS\) [C]
The form name isn't used in the form structure, just the field names. will show you what's available. Anyway, it looks like you want structKeyExists(form,'county') -Original Message- From: Daniel Kessler [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 9:12 AM To: CF-Talk Subje