IsDefined does not not on chrome and safari

Hi all

I have a simple coldfusion form which consisted of 2 pages

The first page contains a form with a button on the inside:

< cfform = method "inputform" name = "post" action = "savetrap.cfm" >

< input type = "submit" name = "newrec" id = "newrec" title = "Start a new application" value = "DΘmarrer a new application" / >

< / cfform >

The second page, check if the user has clicked the button:

< cfif (isDefined ("form.newrec") AND form.newrec eq "start a new application") >

I was clicked!

< / cfif >

Now it seems to work on my internet explorer, OPera and Mozilla browsers but does not work on Chrome and Safari.  Can someone help me to fix this problem?

Thank you very much
G

Guys, that I fixed it.  I took on this project to another developer, and it was quite messy code to cross!

It seems that the problem was the previous developer had 3 buttons in a form and also submit use javascript to send the form on behalf of forms.  All these elements away and hey presdo works on Chrome and Safari!

Thanks for all your suggestions

Tags: ColdFusion

Similar Questions

Maybe you are looking for