SOLVED

Prevent the user from submitting a form is the answer for one question includes certain characters?

%3CLINGO-SUB%20id%3D%22lingo-sub-1392694%22%20slang%3D%22de-DE%22%3EPrevent%20the%20user%20submitting%20from%20a%20form%20is%20the%20answer%20for%20one%20question%20including%20certain%20characters%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1392694%22%20slang%3D%22de-DE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3ETogether%20with%20a%20friend%20made%20a%20form%20for%20my%20teachers%20to%20submit%20our%20tasks%20etc.%20A%20workflow%20we%20made%20in%20Power%20Automate%20will%20automatically%20move%20attached%20files%20to%20SharePoint%20and%20create%20a%20Planner%20task.%3C%2FP%3E%3CP%3EBut%20if%20they%20included%20one%20of%20the%20following%20characters%20in%20the%20title%20of%20the%20task%2C%20the%20workflow%20can't%20create%20a%20folder%20in%20SharePoint.%26nbsp%3B%20%2F%20%5C%20%3A%20*%20%3F%20%22%20%26lt%3B%20%26gt%3B%20%7C%3C%2FP%3E%3CP%3ESo%20my%20question%3A%20Is%20there%20an%20option%20to%20prevent%20the%20user%20from%20submitting%20the%20form%20if%20they%20used%20one%20of%20these%20characters%20in%20the%20answer%20for%20one%20question%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20Advance%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1392694%22%20slang%3D%22de-DE%22%3E%3CLINGO-LABEL%3EEducation%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EForms%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Forms%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1397063%22%20slang%3D%22de-DE%22%3ESubject%3A%20Prevent%20the%20user%20from%20submitting%20a%20form%20is%20the%20answer%20for%20one%20question%20includes%20certain%20cha%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1397063%22%20slang%3D%22de-DE%22%3E%3CP%3EFound%20a%20solution%20using%20Power%20Automate%3A%20%3CA%20href%3D%22https%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FBuilding-Flows%2FFilter-certain-characters-out-of-a-Forms-answer%2Fm-p%2F562432%2Fhighlight%2Ffalse%23M73449%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FBuilding-Flows%2FFilter-certain-characters-out-of-a-Forms-answer%2Fm-p%2F562432%2Fhighlight%2Ffalse%23M73449%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi,

together with a friend made a form for my teachers to submit our tasks etc. A workflow we made in Power Automate will automatically move attached files to SharePoint and create a Planner task.

But if they included one of the following characters in the title of the task, the workflow can't create a folder in SharePoint.  / \ : * ? " < > |

So my question: Is there an option to prevent the user from submitting the form if they used one of these characters in the answer for one question?

 

Thanks in Advance :)

1 Reply
Best Response confirmed by tomjdg (New Contributor)