
I am writing a code where if checkbox is checked then mail will send to desired user otherwise it will show an error "Please select checkbox". Can i get javascript for this?
<apex:pageBlockTable value="{!searchResults}" var="accWrap" id="table"">
<apex:inputCheckbox onclick="selectAllCheckboxes(this,'inputId')"/>
<apex:inputCheckbox value="{!accWrap.selected}" id="inputId"/>
<apex:column colspan="5" value="{!accWrap.acc.Name}" />
<apex:column colspan="5" value="{!accWrap.acc.Email}" />
<apex:column colspan="5" value="{!accWrap.acc.Phone}" />
</apex:pageBlockTable>
1 respuesta
Hi satakshi,
I will suggest you to post this question to developer board for the quick response. This community is focused on configuration and design questions. Programming questions are best to post in one of the developer forums for a quick response here
https://developer.salesforce.com/forums/#!/feedtype=RECENT&criteria=ALLQUESTIONS
http://salesforce.stackexchange.com
Please mark a Best answer to close the thread and keep the community clean . Cheers !!!