Jump to content

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

Recommended Posts

  • Newbies
Posted

Hi all,

I have a button that currently goes to a new record. I would like to add a script that will warn the user if one of the fields is empty. On another layout this field needs to remain empty so I don't want to require the field to have an entry.

I hope that makes sense.

Thanks in advance

Posted

By "goes to new record" do you mean create a new record or go to another record?

Script your button [pseudo code]

If [not IsEmpty(particularField) ]

Show custom dialog [particularField is not empty]

Exit script

Else

?? Goto chosen layout/record [or create new record]??

Or you could clear particularField before going to the new record/creating new record:

If [not IsEmpty(particularField) ]

Show custom dialog [particularField is not empty]

Set field [particularField; ""]

?? Goto chosen layout/record [or create new record]??

This topic is 5455 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.