• Resolved supernova42

    (@supernova42)


    I have created 3 fields as follows
    Latitude, Longitude, Comment

    The user can only enter values in the Latitude and Longitude fields. Can I generate a comment for the comment field that if either the Latitude or Longitude is 0 (i.e. No value entered) then then comment in the Comment Field will be ‘Lat & Long needs to be entered’.

    When the Lat and Long is entered then the comment is removed.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author xnau webdesign

    (@xnau)

    You can set this up as validation on the latitude and longitude fields.

    You could also use the “help text” to explain that these fields are necssary.

    Thread Starter supernova42

    (@supernova42)

    I assume you mean entering some criteria in the ‘Values’ box for that field. I’ve only used the Values Box for drop down menu’s before. Where do I find details of the syntax regarding the statement to pick up that the field is empty.
    Thanks

    Plugin Author xnau webdesign

    (@xnau)

    Validation is a separate setting for each field on the Manage Database Fields page, you can just set it to “yes” and the user will be forced to fill in the field when updating their record.

    Thread Starter supernova42

    (@supernova42)

    Okay thanks Roland

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Automatic generation of field entry’ is closed to new replies.