imstillatwork
IS-IT--Management
I don't use cfform much, but the admin section of this project it makes sense to do so in a few places...
I am hoping it is possible to bind 2 fields in a way that one is required ONLY IF the other has content...
fields are a cfinput type="file" and a cfinput type="text"
I want the text field (file desc) to be required only if there is something in the type="file" : so if the user does not choose a file, then a description is not required...
I guess i can do custom JS for this, but I don't do JS well, and would really like to know how CF does thi (if it does)
CFMX 7
Kevin
I am hoping it is possible to bind 2 fields in a way that one is required ONLY IF the other has content...
fields are a cfinput type="file" and a cfinput type="text"
I want the text field (file desc) to be required only if there is something in the type="file" : so if the user does not choose a file, then a description is not required...
I guess i can do custom JS for this, but I don't do JS well, and would really like to know how CF does thi (if it does)
CFMX 7
Kevin