Sorry, we didn't find any relevant articles for you.

Send us your queries using the form below and we will get back to you with a solution.

Table of Contents

1. Overriding NEW Page for Leads to include address auto-complete and validation 1.1. Navigate to the Setup Toggle and select Setup 1.2. Type Objects Manager into the Quick Find bar, or go to Data>Objects and Fields 1.3. Select Lead 1.4. In Lead, select Buttons, Links and Actions, then select the drop down arrow next to New, and select Edit. 1.5. Under Salesforce Classic Override, select leadEditL[AAKPay__leadEditL]. Click Save 2. Overriding EDIT Page for Leads to include address auto-complete and validation 2.1. Follow Steps 1.1-1.4 and select the drop down arrow next to Edit, and select Edit 2.2. Under Salesforce Classic Override, select leadEditL[AAKPay__leadEditL]. Click Save 3. Changing the Lead Page Layout 3.1. Edit Lead Field Sets 3.2. Changing fields in the Field Set 4. How to reorder the sections on the Lead page layout 4.1. Edit leadSectionOrder Field Sets 4.2. Change Sections order and Save 5. Overriding NEW Page for Accounts to include address auto-complete and validation 5.1. Navigate to Account button, links and Actions - New Page 5.2. Assign Visualforce Page AAkPay__AccountEdit 6. Overriding EDIT Page for Accounts to include address auto-complete and validation 6.1. Navigate to Account button, links and Actions - New Page 6.2. Assign Visualforce Page AAkPay__AccountEdit 7. Changing the Account Page Layout 7.1. Edit Account Field Sets 7.2. Changing fields in the Field Set 8. How to reorder the sections on the Account page layout 8.1. Edit accountSectionOrder Field Set 8.2. Change Sections order and Save 9. Overriding NEW Page for Contacts to include address auto-complete and validation 9.1. Navigate to Contacts button, links and Actions - New Page 9.2. Assign Visualforce Page AAkPay__contactEdit 10. Overriding EDIT Page for Contacts to include address auto-complete and validation 10.1. Navigate to Contacts button, links and Actions - Edit Page 10.2. Assign Visualforce Page AAkPay__contactEdit 11. Changing the Contact Page Layout 11.1. Edit Contact Field Sets 11.2. Changing fields in the Field Set 12. How to reorder the sections on the Contact page layout 12.1. Edit contactSectionOrder Field Set 12.2. Change Sections order and Save

How to setup Data Validation for new/edit page overrides for Leads, Contacts and Accounts

Table of Contents

1. Overriding NEW Page for Leads to include address auto-complete and validation 1.1. Navigate to the Setup Toggle and select Setup 1.2. Type Objects Manager into the Quick Find bar, or go to Data>Objects and Fields 1.3. Select Lead 1.4. In Lead, select Buttons, Links and Actions, then select the drop down arrow next to New, and select Edit. 1.5. Under Salesforce Classic Override, select leadEditL[AAKPay__leadEditL]. Click Save 2. Overriding EDIT Page for Leads to include address auto-complete and validation 2.1. Follow Steps 1.1-1.4 and select the drop down arrow next to Edit, and select Edit 2.2. Under Salesforce Classic Override, select leadEditL[AAKPay__leadEditL]. Click Save 3. Changing the Lead Page Layout 3.1. Edit Lead Field Sets 3.2. Changing fields in the Field Set 4. How to reorder the sections on the Lead page layout 4.1. Edit leadSectionOrder Field Sets 4.2. Change Sections order and Save 5. Overriding NEW Page for Accounts to include address auto-complete and validation 5.1. Navigate to Account button, links and Actions - New Page 5.2. Assign Visualforce Page AAkPay__AccountEdit 6. Overriding EDIT Page for Accounts to include address auto-complete and validation 6.1. Navigate to Account button, links and Actions - New Page 6.2. Assign Visualforce Page AAkPay__AccountEdit 7. Changing the Account Page Layout 7.1. Edit Account Field Sets 7.2. Changing fields in the Field Set 8. How to reorder the sections on the Account page layout 8.1. Edit accountSectionOrder Field Set 8.2. Change Sections order and Save 9. Overriding NEW Page for Contacts to include address auto-complete and validation 9.1. Navigate to Contacts button, links and Actions - New Page 9.2. Assign Visualforce Page AAkPay__contactEdit 10. Overriding EDIT Page for Contacts to include address auto-complete and validation 10.1. Navigate to Contacts button, links and Actions - Edit Page 10.2. Assign Visualforce Page AAkPay__contactEdit 11. Changing the Contact Page Layout 11.1. Edit Contact Field Sets 11.2. Changing fields in the Field Set 12. How to reorder the sections on the Contact page layout 12.1. Edit contactSectionOrder Field Set 12.2. Change Sections order and Save

This setup procedure overrides the standard new and/or edit page layouts for Leads, Accounts or Contacts. This option allows for similar functionality to standard salesforce, but includes auto-complete and address validation.

The alternative option for the buttons and links for address validation provides one option for using the address validation. This option places a button and/or a link that when press pops up a screen for entering the address information.

Address buttons and links auto-complete and new/edit page override is available for the following objects in Salesforce CRM:

  • Leads
  • Contacts
  • Accounts

You must first have setup data validation with the Data Validation Provider:

Quick Steps for installation:

  • On the objects you wish to add validation, do the following:
  • Navigate to setup > customize > {object} > Buttons, Links and Actions
  • Press edit next to "New" link - select visualforce page AAkPay__{object}Edit and Save
  • Press edit next to "Edit" link - select visualforce page AAkPay__{object}Edit and Save

If you wish to change the section headings, please see: How to change field names, section heading names and information messages

 

1. Overriding NEW Page for Leads to include address auto-complete and validation

1.2. Type Objects Manager into the Quick Find bar, or go to Data>Objects and Fields

1.3. Select Lead

1.5. Under Salesforce Classic Override, select leadEditL[AAKPay__leadEditL]. Click Save

/div>

2. Overriding EDIT Page for Leads to include address auto-complete and validation

2.1. Follow Steps 1.1-1.4 and select the drop down arrow next to Edit, and select Edit

2.2. Under Salesforce Classic Override, select leadEditL[AAKPay__leadEditL]. Click Save

3. Changing the Lead Page Layout

As the new and/or edit page layouts have been replaced with the Payments2Us Visualforce page, the standard salesforce edit layout option is no longer available.

However, you can still change the layouts and fields that are shown/available by change the fields that appear in the field set.

The form is made of of several fieldsets. These are:

  1. leadSectionInformation
  2. leadSectionAddress
  3. leadSectionAdditionalInfo
  4. leadSectionDescription

A special fieldset called leadSectionOrder is used to control the order that each of the sections appear.

3.1. Edit Lead Field Sets

  1. Navigate to setup > Customize > Leads > Field Sets
  2. Click edit next to the section you wish to amend

3.2. Changing fields in the Field Set

You can add/remove fields from the section, change the display order and make required/optional

  1. Add fields by dragging them from the available fields pallet to the fields that are in the Field Sets section
  2. Change the order of fields by dragging them up/down in the fields in Field Set section
  3. Double click a field to make it required/optional

4. How to reorder the sections on the Lead page layout

4.1. Edit leadSectionOrder Field Sets

  1. Navigate to setup > Customize > Leads > Field Sets
  2. Click edit next to the section you wish to amend

4.2. Change Sections order and Save

5. Overriding NEW Page for Accounts to include address auto-complete and validation

  1. Navigate to setup > Customize > Account > Buttons, Links and Actions
  2. Click edit link next to new button

5.2. Assign Visualforce Page AAkPay__AccountEdit

  1. Select AAkPay__accountEdit
  2. Press Save button

6. Overriding EDIT Page for Accounts to include address auto-complete and validation

  1. Navigate to setup > Customize > Account > Buttons, Links and Actions
  2. Click edit link next to new button

6.2. Assign Visualforce Page AAkPay__AccountEdit

  1. Select AAkPay__accountEdit
  2. Press Save button

7. Changing the Account Page Layout

As the new and/or edit page layouts have been replaced with the Payments2Us Visualforce page, the standard salesforce edit layout option is no longer available.

However, you can still change the layouts and fields that are shown/available by change the fields that appear in the field set.

The form is made of of several fieldsets. These are:

  1. accountSectionInformation
  2. accountSectionAddress
  3. accountSectionAdditionalInfo
  4. accountSectionDescription

A special fieldset called accountSectionOrder is used to control the order that each of the sections appear.

7.1. Edit Account Field Sets

  1. Navigate to setup > Customize > Accounts > Field Sets
  2. Click edit next to the section you wish to amend

7.2. Changing fields in the Field Set

You can add/remove fields from the section, change the display order and make required/optional

  1. Add fields by dragging them from the available fields pallet to the fields that are in the Field Sets section
  2. Change the order of fields by dragging them up/down in the fields in Field Set section
  3. Double click a field to make it required/optional

8. How to reorder the sections on the Account page layout

8.1. Edit accountSectionOrder Field Set

  1. Navigate to setup > Customize > Accounts > Field Sets
  2. Click edit next to the section you wish to amend

8.2. Change Sections order and Save

9. Overriding NEW Page for Contacts to include address auto-complete and validation

  1. Navigate to setup > Customize > Contact > Buttons, Links and Actions
  2. Click edit link next to new button

9.2. Assign Visualforce Page AAkPay__contactEdit

  1. Select AAkPay__contactEdit
  2. Press Save button

10. Overriding EDIT Page for Contacts to include address auto-complete and validation

  1. Navigate to setup > Customize > Contact > Buttons, Links and Actions
  2. Click edit link next to new button

10.2. Assign Visualforce Page AAkPay__contactEdit

  1. Select AAkPay__contactEdit
  2. Press Save button

11. Changing the Contact Page Layout

As the new and/or edit page layouts have been replaced with the Payments2Us Visualforce page, the standard salesforce edit layout option is no longer available.

However, you can still change the layouts and fields that are shown/available by change the fields that appear in the field set.

The form is made of of several fieldsets. These are:

  1. contactSectionInformation
  2. contactSectionAddress
  3. contactSectionDescription
  4. contactSectionAdditionalInfo

A special fieldset called leadSectionOrder is used to control the order that each of the sections appear.

11.1. Edit Contact Field Sets

  1. Navigate to setup > Customize > Contacts > Field Sets
  2. Click edit next to the section you wish to amend

11.2. Changing fields in the Field Set

You can add/remove fields from the section, change the display order and make required/optional

  1. Add fields by dragging them from the available fields pallet to the fields that are in the Field Sets section
  2. Change the order of fields by dragging them up/down in the fields in Field Set section
  3. Double click a field to make it required/optional

12. How to reorder the sections on the Contact page layout

12.1. Edit contactSectionOrder Field Set

  1. Navigate to setup > Customize > Contacts > Field Sets
  2. Click edit next to the section you wish to amend

12.2. Change Sections order and Save

Updated at July 27th, 2024

Was this article helpful?