October 14, 200322 yr I want to display a custom message box with custom buttons if one field in my database is not filled in. I'm having trouble setting this up. Can anyone assist me? Thank you
October 14, 200322 yr Using field validation with a custom message is the easiest way to achieve this. It does not give you the custom buttons though. If you do not like this, you can make a separate entry layout and a script that does something like: Goto Layout [your entry layout] Loop Pause If [isEmpty[Field1] or isEmpty[Field2] or ......] Show Dialog [Your text, your buttonnames] else Exit Loop if [1=1] end if End Loop Goto Layout [original layout] Hope I interpreted your question right... Ernst.
October 20, 200322 yr Author Do you mean a seperate entry layout for that one field? I'm confused. The first box on the entry layout is the box I want to make sure is filled in. I'm wondering if they tab out of that box without entering any data can I display a custom message with custom buttons?
October 20, 200322 yr Check out the thread on validating entries in a second field in this same forum - this thread probably addresses your question (it looks as if they are asking to do the same thing you are asking above).
October 20, 200322 yr If it is as simple as having one field that MUST be filled in before continuing then you can use field validation. Go into the field definitions for the field in question, click the 'Validation' tab, check 'Not Empty' and -'Display custom message if validation fails' and type in a custom message. You can not edit the buttontext when using this built-in validation, nor can you have a dynamic message text. Hope this helps, Ernst.
Create an account or sign in to comment