Try our conversational search powered by Generative AI!

Problems with XForms

Vote:
 

Hey

 

I am trying to Implement XForms in a EPiServer solution for a costumer. We are to add some costum validation on fileds and I therefor need to add costum validation.

 

I have followed the blog post on http://world.episerver.com/Blogs/Jacob-Khan/Dates/2010/5/XForms-validation/ to try and get it to work but so far without any luck.

I have tried debugging the solution but once I reach the point 

foreach (Control item in  formControl.Controls) 
the code stops working. formControls.Controls dosent contains any items althou there are items in the Form.

Does anyone have an idea on how to solve this problem?

Best Regards
Simon 
#50633
May 05, 2011 15:31
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.