I'm attempting to create a power app request form, where a justification is required. The justification must have at least a minimum of 25 words and no more than 500 words. In the event the user does not enter 25 words, an error message shows stating "Justification does not meet minimum word requirement".
Does anyone have a resolution as to how this can be done.
Thank You
Solved! Go to Solution.
Yes, that will never work! You are trying to split the text by "Justification does not meet minimum word requirement"...pretty sure your words are not separated by that phrase but by spaces.
The formula should be:
CountRows(Split(JustificationTextInput.Text, " ")) < 25
Set the Visible property of your "Justification does not meet minimum word requirement" label to:
CountRows(Split(yourTextInputControl.Text, " ")) < 25
I hope this is helpful for you.
Hi Randy,
Thank you for your prompt response. I attempted to follow your instructions provided. Unfortunately the solution provided did not work. Maybe I'm doing something wrong. I've attached a screenshot of what I've entered.
JustificationError is the label created to display the error message
Yes, that will never work! You are trying to split the text by "Justification does not meet minimum word requirement"...pretty sure your words are not separated by that phrase but by spaces.
The formula should be:
CountRows(Split(JustificationTextInput.Text, " ")) < 25
@RandyHayes Thank you sir for your assistance on today. With the solution provided I was able to resolve the error
User | Count |
---|---|
260 | |
127 | |
101 | |
49 | |
47 |