You need to sign in to do that
Don't have an account?
mac admin
Check box filed as mandetory in custom vfpage
Hi all,
I want to make the check box as mandetory before saving my custom vfpage. Can anyone help me over here.
Is standard validation work here..?
Reagrds,
mac
I want to make the check box as mandetory before saving my custom vfpage. Can anyone help me over here.
Is standard validation work here..?
Reagrds,
mac
You should use this(required="true") in your vfpage.
Hope it will help you.
Mark it as best answer if you got your answer.
Regards
I have already tried it but i didn't get any result .
You can try using Javascript validation to achieve this.
Please try with document.getElementById(XXXXX).value (something like this) to get the value of checkbox and use it before saving the record.
Hope it works. I will also try give an example.
Thank you
Brahma
Here is the sample code which can make the checkbox mandatory.
I just used javascript validation to achieve this. I am not sure any other solution to achieve this.
Thanks,
Brahma