Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Validation when other methods don't work?

RebeccaThompsonJun 5 2018 — edited Jun 5 2018

Have an APEX v5.1.4 page which gets the geolocation (latitude & longitude) of where the user currently is. This example that I used as a great working guide and uses JavaScript with a DB package... https://tedstruik-oracle.nl/ords/f?p=25384:1060:0::NO:

Cannot have users change the coordinates gathered using their mobile device location settings, or enter their own set of coordinates. However setting the numeric page items (P10_LATITUDE and P10_LONGITUDE) to "read only" for some reason disables getting coordinates using the working perfectly JavaScript and DB package. And using a Dynamic Action to disable the page items so users cannot change them does not work for the same reason.

So was thinking about a Validation that triggers an error when a user attempts to enter their own location data - versus allowing the working geolocation scripts to function. Does anyone have suggestions how to create a validation like this?

This post has been answered by RebeccaThompson on Jun 5 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 3 2018
Added on Jun 5 2018
3 comments
152 views