NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: hkalmbach on October 12, 2014, 10:53:08 PM
-
Hi together,
I have a WebForm, where I fill 3 (adress-) fields by some kind of a lookup. In fact it is not a lookup but also a form with buttons (designed for tablet computers) from which the user is selecting.
To distinguish which field in the original form has to be filled I send a parameter (PosNr) in the URL in both directions.
The filling of the field works well.
The only problem I have is to set the focus in the original form to the correct field after coming back from the selection form. The focus always is in the first field of the form.
I already tried to do it in the following way:
CASE PosNr
OF 2
p_web.SetValue('SelectField',clip(loc:formname) & '.DurchBeginnDatum2')
OF 3
p_web.SetValue('SelectField',clip(loc:formname) & '.DurchBeginnDatum3')
END
But it didn't work.
Does someone know how to do it or where is the correct embbed point for this?
Thanks a lot.
Regards
Heinz
-
looks like you are on the right track, but I suspect the devil is in the details.
Perhaps post a small example of what you are doing so I can take a look.
Remember that HTML is case sensitive.
cheers
Bruce