Forums

Error message

Ravens 05 Sep, 2011
Yes, I've been trying out all kinds of things today. Getting my forms converted from CFv3 to CFv4 has not proven to be easy to do. One of my forms has a input box hidden unless a specific radio button is selected. When it is, then the field to upload a file is visible. This filename is required when the field is visible. So, I've purchased Greyhead's tutorial on forms with hideable sections and validating them. I did discover the field type "file" was not handled in the script files, but I got that taken care of. I have gone ahead and used CF's validation for every field other than the file name, because I prefer the little bubble error messages from CF. Is there a way on the file name field, to have the error popup look like the ones from CF? Or is there any other way to customize it at all?

I've been trying to get this form converted for over a week now, and am finally starting to see the light at the end of the tunnel.

Thanks
Tami
GreyHead 05 Sep, 2011
Hi Tami,

I'm not sure - have you tried adding the usual validation class?

The Hideable inputs was written for CFv3 because I couldn't' work out how to handle the problem of having hidden inputs that were required. I don't' know if the same problem exists with the new validation library in CFv4.

Bob
Ravens 05 Sep, 2011
Yes, I did try the usual validation and it still has the same problem in CFv4.
Ravens 06 Sep, 2011
Thanks, I got this working perfectly.

Tami
GreyHead 06 Sep, 2011
Hi Tami,

Great - please can you tell us how you got it working?

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