Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6628 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I guess this is easy and that the question has already been asked but I can't see how to do it.

I have a client records database with the usual fields like name, address, etc. What I want is that when you trigger the submission script it looks for fields that should be filled with info but are empty and then signals it through a dialog box.

For example : the fields 'Address' and 'First name' are empty!

Anyone an idea how to tackle this?

Thanks in advance.

Posted

Look at the FIELD VALIDATION when defining your fields (in the OPTIONS). You can set the conditions that the contents of a field must have before accepting the data. viz.

Address <> ""

(Address is not equal to nothing)

Posted

Yes but the problem with that is that I have multiple dialog boxes popping up if the user forgets multiple fields.

The idea is more that at the end of filling out the form, the user clicks a submit button that triggers a script which looks if there are mandatory fields that are empty. If there are empty fields, the user gets a dialog box telling him which boxes are emoty and that have to be filled out before the record is valid.

Posted

...

Why would you have multiple dialog boxes, why not use one?

e.g.

If[isEmpty(Address) or IsEmpty(Name) or IsEmpty(State)]

Show Custom Dialog[Title: "Missing Information" ; "You have failed to fill in the following fields:¶¶ " & If(IsEmpty(Address) ; "Address¶" ) & If(IsEmpty(Name) ; "Name¶" ) & If(IsEmpty(State) ; "State¶" ) ]

End If

... you get the gist

This topic is 6628 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.