How do you make a field required for Text box and Gallary?
Hi,
Do you think you could explain what you are trying to do in a bit more detail?
Thanks!
Cherie
Yes the textbox itself can be set required on the datacard level of the gallery! The attribute is simple called 'required'
I find this work fine but not if you have HintText in that text field. It considers the HintText as text and thus satisfies the input requirement. So, how would I make it required to enter text but still use HintText?
Hi @Anonymous, if you simply make the Required property of the field 'true', but you also have some text in the Hint Text property, that will satisfy Requirement for text and thus always pass. Instead of using the Hint Text, I used the Tootip property which shows some text as you hover over the field with the mouse. Then the field is empty by default and thus with the Required property set to 'true', the form will make the user fill in that field before form can be submited. If you must use Hint Text, then we can add some more logic to the requirement to ensure that new text gets entered. Let me know if that's the case and i can help.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
207 | |
97 | |
60 | |
53 | |
51 |
User | Count |
---|---|
255 | |
158 | |
87 | |
79 | |
65 |