1

I'm creating a form using sharepoint designer 2010, by inserting New Items forms, and editing as necessary the design.

Previously I was using asp:TextBox and validating through

asp:RegularExpressionValidator

, but for some reason when user selects submit the postback is not working. Then found out SharePoint:FormField postback is working.

I need a way to validate the

SharePoint:FormField

. I would like to validate using regular expressions. Or fix my postback problem using asp:TextBox, any solution where I can validate and postback would work.

Small side note, I cannot use InfoPath

0

Well I found out why the postback wasn't working, when using the asp:TextBox and validating through asp:RegularExpressionValidator. Its because I replaced the "SharePoint:SaveButton" with an input button.

So for postback to work Keep "SharePoint:SaveButton".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.