My requirment is when i click the submit button it will show the validation like "Please Enter the text box ". My i know How to created I fallow like this below
onselect (if(!IsBlank(txtsecfunded.text),"Please enter the Secfunded"))
But is not showing any validation.
In terms of validations, you could use a text label to test and then use the notification feature for the submit button.
Create a text label and have the Text=if( IsBlank(txtsecfunded.text) , "this is blank" , "this is not blank")
- This way during testing you can see easily if your IsBlank is working correctly
- I see that you put !IsBlank in your example, which means if it is NOT Blank then ask them to insert information? I think this is meant to be just IsBlank as below:
Once you have established that your formula is working as it was intended, you can then use the notify feature to display a notice to the user when they click the Submit button:
onselect =if( IsBlank(txtsecfunded.text), Notify("Please enter the Secfunded", NotificationType.Error), SubmitForm(formname))I set up a test example of this:
Which was successful in Submitting the new value.
If I change the check to IsBlank(Label2.text)
Hope this helps!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand