You need to sign in to do that
Don't have an account?
uu
Enable input file Field on VF page
Hello developers,
I need help.
If InputField in not null then enable InputFile apex tag on VF page.
How to do it.
Please help me.
Thanks in advance
Regards,
Anita sodhi
I need help.
If InputField in not null then enable InputFile apex tag on VF page.
How to do it.
Please help me.
Thanks in advance
Regards,
Anita sodhi
Can you elaborate the scenario? In case if you are searching for a way for validating the entered value in the input field in visualforce page you can check the below link for reference:
>> https://success.salesforce.com/answers?id=90630000000ZjhxAAC
I hope this helps.
Regards,
Anutej
Additionally I found this below forum thread that could be of help.
>> https://developer.salesforce.com/forums/?id=906F0000000DBxTIAW
You can disable the file input.
Just call js method on change event of textbox give class names to your text inputboxes and file inputbox.
https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_fileupload_disabled2
Let us know if you have any trouble implementing it.