Timeline for apex inputCheckbox required=TRUE not working
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 20, 2015 at 13:08 | comment | added | CoryCowgill | Can you add a Validation Rule to the Field on the Object? That way it will always work regardless of this is a VF Page, Standard Detail Page, or API integration. It also requries 0 lines of code. | |
Mar 20, 2015 at 11:18 | answer | added | JimRae | timeline score: 4 | |
Mar 20, 2015 at 9:49 | comment | added | Sergej Utko | I think it is a kind of "bug" or superfluous feature for the checkbox... | |
Mar 20, 2015 at 9:48 | comment | added | SFDC FanBoy | What is the use of "required" attribute. Why doesn't it work? | |
Mar 20, 2015 at 9:33 | comment | added | Sergej Utko | You should do the check in controller. | |
Mar 20, 2015 at 9:12 | comment | added | SFDC FanBoy | This is like Read Terms & Conditions checkbox. Must be checked by everyone. I used Reruired="true" | |
Mar 20, 2015 at 8:56 | comment | added | Sergej Utko | On the other hand how do you want to make the checkbox mandatory? Should it be implicitly checked? If a checkbox is not checked it will get a value nevertheless (false). From my point of view it is not necessary to make a checkbox mandatory. It will get a value in any case. Checked -> TRUE, not checked -> FALSE. | |
Mar 20, 2015 at 8:52 | history | edited | SFDC FanBoy | CC BY-SA 3.0 |
added 300 characters in body
|
Mar 20, 2015 at 8:51 | comment | added | SFDC FanBoy | Nope, im not using. I will update the command button code also here. | |
Mar 20, 2015 at 8:48 | comment | added | Sergej Utko |
Are you using immediate="true" somewhere on the command button for example?
|
|
Mar 20, 2015 at 8:46 | history | asked | SFDC FanBoy | CC BY-SA 3.0 |