Forums

auto server side validation for required image field

csdpl 20 Jul, 2015
Hi,

We're looking to setup server side validation for a required image field. We have already configured the javascript based validation for the field, which works fine, but we are looking for a server side validation for this field.

Our first attempt was to use a auto server side validation action with the image field name (e.g. ScannedImage) in the required and not empty fields list. This causes the form submit to fail even if a correct image is attached for ScannedImage.

Not sure how to go about solving this issue. please advice.
GreyHead 20 Jul, 2015
Hi csdpl,

The image field name isn't populated until after the Files Upload action so probably the simplest fix is to swap them around in the On Submit event.

Bob
csdpl 20 Jul, 2015
Hi greyhead,

had a quick check and it seems to work fine, we will continue a little bit of further testing.

Thanks a lot !
This topic is locked and no more replies can be posted.