NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: CaseyR on August 20, 2007, 06:45:26 PM

Title: Save form automatically if assigned value is correct
Post by: CaseyR on August 20, 2007, 06:45:26 PM
Hi

I am adding items to a browse using a form that does an automatic lookup to select a value from another browse.  It also assigns a second value to the only other form entry.  The user then clicks Save to complete the transaction.  If the value of the second entry is assigned 1 by the lookup, which it is most of the time,  the user has no option about changing the value.  So I would like to automatically save the form if the auto lookup is successful and the assigned second entry is 1.

Is there any way to do this?  I am not recognizing it in the Client Side options.

Thanks a lot. 
Title: Re: Save form automatically if assigned value is correct
Post by: Bruce on August 20, 2007, 10:41:03 PM
Hi Casey,

It's probably possible to do this, using a little bit of javascript, but there's no simple way to do it at the moment.

It's possible that in a future release you'll be able to send "code" back from the server-side code which would make it possible.

Cheers
Bruce

Title: Re: Save form automatically if assigned value is correct
Post by: CaseyR on August 22, 2007, 12:47:57 PM
Too bad.

I will give some thought to a Javascript.

Thanks anyway, Bruce.