Apex/VisualForce

Salesforce Web-to-Lead with reCAPTCHA (Spam Filtering)

Salesforce has provided an out of box, Web-to-Lead for many years now. It is pretty easy to enable this feature and quickly build the customized web form to capture lead’s for your organization. But this form had a problem as there was no spam filtering – so one could enter junk data into the form… Continue reading Salesforce Web-to-Lead with reCAPTCHA (Spam Filtering)

Apex/VisualForce

StandardSetController

StandardSetController objects allow you to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce. In this tutorial, I am going to cover the tabbed pagination using the functionality of StandardSetController. In the below code – I have created 2 references of the set controller one holding the… Continue reading StandardSetController

Apex/VisualForce

learning ‘apex:actionSupport’

<apex:actionSupport> is a standard VisualForce component that adds AJAX support to another component, allowing the component to be refreshed asynchronously by the server when a particular event occurs, such as a button click or mouseover. For example, the commandButton component has the inbuilt AJAX support but others such as outputText component does not have – so… Continue reading learning ‘apex:actionSupport’

Apex/VisualForce

learning ‘apex:actionFunction’

<apex:actionFunction> is a standard VisualForce component which allows you to invoke Apex controller action methods directly from a JavaScript code using AJAX request. An <apex:actionFunction> component must be a child of an <apex:form> component. It is different from <apex:actionSupport>, which only provides support for invoking controller action methods from other VisualForce components, <apex:actionFunction> defines a new JavaScript… Continue reading learning ‘apex:actionFunction’