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

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

Recommended Posts

Posted

I have a Custom Dialogue box which has two input fields one for a date and one for a time. The fields linked to the input fields have validation on them (Date dd/mm/yy and time hh:mm AM/PM) but this validation is circumvented by using the input fields in the dialogue box. Is there a script I can use as a next step to check the format of these field and show any errors.

Many thanks

Posted

I am not familiar with the type of validation you describe.

In any case, if you change a field's validation definition to 'Always', it will be validated in a custom dialog too. Another option is to validate through a script e.g.B)

Loop

Show Custom Dialog [ Buttons: “OK”, “Cancel”; Input #1: Table::Date ]

Exit Loop If [ IsValid ( Table::Date ) ]

End Loop

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