Problems with custom server side validation

CMG27 28 Nov, 2012
Hi!

I have a big problem and i need your help!

I have a form with Record Loader Event, this shows information from a database. In addition, the form has two textbox that the user has to fill before submit the form, for this reason i add a custom server side validation to ensure the length and format for this textbox.

The problem occurs when i fill the textbox but the custom server side validation detects a error and show it, this clear the information filled in the textbox

Can you can help me??
GreyHead 29 Nov, 2012
Hi CMG27,

There is a RePublish option in the Show HTML action that is turned on by default and will usually re-publish any existing data.

Are you using an Event Loop to re-load the form after the validation failure?

Bob
CMG27 29 Nov, 2012
Hi Bob

I have another question, i think that with the images i can explain better the situation.

regards!!! 😀

[attachment=1]screen1.JPG[/attachment]

[attachment=0]screen2.JPG[/attachment]
CMG27 29 Nov, 2012
Yes, i have an Event Loop 😟
GreyHead 02 Dec, 2012
Hi CMG27,

I'm not clear what is happening here. If you disable inputs they will not be submitted to ChronoForms when the submit button is clicked. For that to happen they need to be set to readonly.

Bob
This topic is locked and no more replies can be posted.