Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Using XFORM a problem in validation

Vote:
 

Hello,

I wonder if someone can help me out on this problem.
I am using Epi-Server CMS version 5 R2, and developing a form using Xform,

I have added few of extra text boxes and dropdown explicitly, not using the
epi-server xform interface, so at the end my form looks like this:

[My own set of fields] contains 4 text boxes, 4 dropdowns (contains few mandatory fields)

[Xform fields] contains few of the elements that editor needs to change (contains few mandatory fields)

Submit Button.[Xform driven]

I am adding those custom fields in the codebehind explicitly to the epi-server xforms and
storing them in epi-database.

Problem occurs in validation. Both set of fields templates require validations. Now, xform validations
only work on epi-server driven fields, not on my set of fields. My validations controls are perfectly
running when i use any custom button not the epi-server xform button.

But here if i use my own custom button, how can i control the validations for epi-generated xform fields.
Please if someone can comment on this, and provide me a bit of sample code.

I need add the end to fire validations on both set of fields with only 1 button.
Many thanks in advance


#40037
Jun 09, 2010 11:59
* 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.