function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PerPer 

making address fields required

When creating a new account I want the billing address to be required. Using the standard customization that does not seem to be possible. So, any ideas?

Regards,
Per

DevAngelDevAngel

Hi Per,

No that is not possible.  You can only make it required in the context of a layout.  In your code you can query for the layout (describeLayout) to determine requiredness based on layout.

ScotScot

Dave,

I think the problem is that the application does not allow address fields to be made required in a layout.

Most standard fields, and all (that I can see) custom fields can be required, but not Billing Address or Shipping Address.  I suspect that there's a problem with the multi-field nature of these fields?

Scot