DisplayForm Events?
I am trying to create a workflow where the user can either select a location on the map or enter coordinates in a form for processing a report.
Our current tool that does this calculates decimal degrees from the raw entries for degrees, second and minutes as the user types them in by catching the onchange event. Is there anyway to put an event handler for the ontextchanged event for a textbox? Alternatively, if I could use the the coordinate tool and capture its value in a workflow that might be the best option.
Thoughts?
-- Marc
-
Hi Marc
I am curious as to what you want to do as the text changes? You could always set validation on the textbox if you are worried that users are going to enter nonsense values in the textboxes.
Otherwise it is fairly straight forward to set up the workflow to collect a map click for a report location
Thanks
Ralph
0 -
Hi Ralph,
My use case is that our current tool built with javascript dynamically calculates coordinates entered in degrees to decimal degrees. Without a event handler, it would be nice if there would be a way to have a button in a form that when pushed would calculate the decimal degrees and stay in the form instead of having to go to another panel or some tricky back to form switch. The validators don't seem to work in this way, but maybe I am missing something.
Marc
0 -
Hi Marc
So they are typing in 176 39 45 -39 30 23 and that is getting converted to 176.45632 -39.5512 (or what ever it calculates to)?
Does the user do something with the decimal degree number? Do you want to see a marker on the map at that location?
Do you have any screenshots of a current application that does this and what follows?
Regards
Ralph
0
Please sign in to leave a comment.
Comments
3 comments