NetTalk Central

Author Topic: Extra Click Needed on Form  (Read 4536 times)

Gordon Holfelder

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • Email
Extra Click Needed on Form
« on: September 03, 2010, 10:08:31 AM »
Hello-

I have a login form modelled after the login form in the Web3 sample. In my login form, if an error has been displayed (i.e. login failed), I enter a new password (do not tab out of field) and click the login button. The error message clears, but a second click on the button is required for the form to be accepted. Tabbing out of the field allows the button click to work properly.

I've looked at Web31 (which doesn't have the problem) and as far as I can tell, I've set the various field and form options the same. Is there a particular place I need to look to turn off this behavior.

Thanks!
Gordon

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Extra Click Needed on Form
« Reply #1 on: September 04, 2010, 08:33:51 PM »
I have the same problem on all forms with an error message. Click Save once to clear the message and again to save the record. Sure would like to know what I'm doing wrong.
Sorry, Gordon this isn't much help for you.
Real programmers use copy con newapp.exe

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Extra Click Needed on Form
« Reply #2 on: September 06, 2010, 12:06:24 AM »
Sorry - same problem... ???

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Extra Click Needed on Form
« Reply #3 on: September 08, 2010, 02:55:10 AM »
Hi,

Maybe you could check the status of the validation of those fields.
When validation is Default and the default is set to immediately, the value of the field will be sent to the server after the cursor has left the field (or a button is clicked).
Set the validation of these fields to not default and/or change the default to not immediately (I don't know the other setting by hart) and try again.

Rene
Rene Simons
NT14.14

Gordon Holfelder

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • Email
Re: Extra Click Needed on Form
« Reply #4 on: September 08, 2010, 07:31:34 AM »
Hello Rene-

Thats the ticket! I went to the procedure -> Actions -> NetWebForm Settings -> Validation (tab) -> Set "Immediate Validation" to No.

You can set the individual fields, but I'm assuming that this is when you want to validate the fields as the user tabs through the fields. This is actually not what I normaly would want.

Thanks again,
Gordon

Alan Cochran

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: Extra Click Needed on Form
« Reply #5 on: September 09, 2010, 11:14:54 AM »
Rene & Gordon,

Thanks... I was having the same problem as well.  Never thought about changing the Immediate Validation from Default to No.

Alan