You can control each field from validation settings for that field. That will show you a validation dialog. This dialog can you control information that you want to provide to user and also validate data that is inside the field.
I do not understand why you do not want to use Custom Dialogs? They are very good to show to give users answers on what the problem is.
You can have a field border (bottom line only) and Conditional Format it to be RED if the field is empty.
Sent from miPhone
1 of 1 people found this helpful
This won't work for radio buttons or checkboxes, but I like to put "Required" in the Placeholder text and set the Placeholder style to Red + Bold.
Sir, I don't know where is placeholder?
Thank you for your help friend.
Now I want when user complete all of the fields then can see search buttons and staff.
And when the user wants to search one name if the user completed the fields show popover button no custom dialog.
please see my project if you can and help me to do this work.
tune portal.fmp12.zip 112.2 K
I'm afraid I don't have that much time to spare that I can fix other people's files for them. From the sounds of it you want to show or hide layout objects based on whether a condition is met.
Take a look at the Hide Object When field in the Inspector on the left in my picture. You would select your search button and set Hide Object When to something like Case ( IsEmpty ( field1 ) or IsEmpty ( field2 ) ; True ; False ). Keep adding "or IsEmpty ( fieldn )" for each field you want to check.
I hope this helps!
But isempty script hide that button!
I want when that field is empty make script on that button disable.
Whats the difference?
If the button is hidden the script will not fire.
Script will not fire = disabled.
You could wrap your script in an if statement that checks for a value in the field.
You could also set up your permissions such that the script will not run if the field is empty.
But you don't want that.
You want us to do the work for you.
I would be happy to do the work for a fee.
The Hide Object When feature will hide the object if the result of the formula is True or 1,and will show the object if it is False or 0. As I said, I don't have the time to pore over the logic of your solution... I recommend that you explore how this works; it's how I learned FileMaker and it's probably the best way for you to learn too.
All the best!
If you check my project you can see I used isempty function on my project
many times but now I want user complete all of the form fields then can use
my script on the buttons!
Isempty function hides the button and I don't want to hide it I want to
make script disable not change my UI!
Thank you for your helping.
Sir, the answer is very clear then: remove the condition from the Hide Object When and include it in your script instead.
Then how can I make disable that script until user complete the fields?
Research the If and End If script steps.