microsoft / coe-starter-kit

Other
754 stars 225 forks source link

[CoE Starter Kit - Feature]: No Validation or Required Fields on Support Details form #6933

Open mdphung opened 1 year ago

mdphung commented 1 year ago

Is your feature request related to a problem? Please describe.

When submitting support details for an app there is no validation or required fields on the form and users can submit support details without providing any information. We have thought about this and making the fields required in dataverse probably won’t work as it would cause errors when new app records are created in the PowerApps Apps table. We were thinking we would need to either create business rules to make the fields required conditionally or use Jscript. Is this something we need to implement on our own or something your team plans on adding in the future?

image

As you can see in the following two screenshots, even though no information was provided the user was able to successfully submit support details.

image image

Describe the solution you'd like

I would show that these fields are required and that they can not submit if the fields are not filled out. image

Describe alternatives you've considered

No response

Additional context?

No response

AB#306

Jenefer-Monroe commented 1 year ago

The other issue is that different organizations have different business requirements and so only require some of the fields but not others. I think we would have to add env vars on which fields to make required. Will put on the feature backlog but please do note that this will likely not be funded soon due to some completing priorities. So you may want to add this to the app yourself or add a flow which detects these cases and resets to requested with a mail to your maker.