javier94
Member
i have a checkbox element with 2 options... YES/NO.. 0/1
and i have another fileupload element..
what i need is.. if a value is 0... the element would be accessible, if the value is 1... the element will be not accessible, you can not make nothing..
i have thinking to make a validation.. with some php code.. like,
I would like that if the value of checkbox is 0 ----> the access of fileupload element will be "candidats" a access i have in joomla..
and if the value of checkbos is 1 --> the access of fileupload element will be " ajuntament" other acces i have in joomla.
but i don´t know how to relate with the code, what type of access will have the element.!!!
this would be possible? or maybe there is other way..
Thanks in advance!
Javier
and i have another fileupload element..
what i need is.. if a value is 0... the element would be accessible, if the value is 1... the element will be not accessible, you can not make nothing..
i have thinking to make a validation.. with some php code.. like,
I would like that if the value of checkbox is 0 ----> the access of fileupload element will be "candidats" a access i have in joomla..
and if the value of checkbos is 1 --> the access of fileupload element will be " ajuntament" other acces i have in joomla.
but i don´t know how to relate with the code, what type of access will have the element.!!!
this would be possible? or maybe there is other way..
Thanks in advance!
Javier