Hi,
Anyone have experience populating the prepend or append labels from a custom field?
For example users set preferences in their accounts for metric or imperial measurements. When the frontend form loads it appends a ‘kilos’ or ‘pounds’ label to the field as per their setting.
Thanks!
You can use an acf/prepare field filter https://www.advancedcustomfields.com/resources/acf-prepare_field/
In this filter you can get the setting from the options and change the prepend and append values.
You can see what settings you need to change by creating a field in ACF and exporting it to PHP to get the correct indexes for these field settings.
Brilliant, John. Thank you for pointing me in the right direction!