Hi,
For example:
When clicking an option "Yes" an upload-field appears. That upload-field must be required.
[attachment=0]Schermafbeelding 2015-01-07 om 10.37.47.png[/attachment]
Only when clicking "No" the upload-field must disappear and not be required anymore.
[attachment=1]Schermafbeelding 2015-01-07 om 10.41.11.png[/attachment]
Point is that the upload-field stay's Required.
How can I manage this?
Any help is welcome!
MGringo
For example:
When clicking an option "Yes" an upload-field appears. That upload-field must be required.
[attachment=0]Schermafbeelding 2015-01-07 om 10.37.47.png[/attachment]
Only when clicking "No" the upload-field must disappear and not be required anymore.
[attachment=1]Schermafbeelding 2015-01-07 om 10.41.11.png[/attachment]
Point is that the upload-field stay's Required.
How can I manage this?
Any help is welcome!
MGringo
Hi Mgingo,
In CFv5 I thinkt hat you can do this either with JavaScript by changing the class of the file upload - or, probably better - by making the file upload required in the Designer but disabling it when it is hidden.
Bob
In CFv5 I thinkt hat you can do this either with JavaScript by changing the class of the file upload - or, probably better - by making the file upload required in the Designer but disabling it when it is hidden.
Bob
Hi Mgingo,
In CFv5 I thinkt hat you can do this either with JavaScript by changing the class of the file upload - or, probably better - by making the file upload required in the Designer but disabling it when it is hidden.
Bob
Hi Bob,
The file upload now indeed is Required. How can I disable this when its Hidden? Not in designer-mode as far as I can see ...
MGringo
Is this what you mean Bob?
[attachment=0]Schermafbeelding 2015-01-07 om 15.43.52.png[/attachment]
[attachment=0]Schermafbeelding 2015-01-07 om 15.43.52.png[/attachment]
This topic is locked and no more replies can be posted.