Xform 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

#40038
Jun 09, 2010 12:00
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.