2

I'm trying to use field:billing_name error:order_custom1 to generate the error message I've set in Settings > Order Fields > order_custom1 - but the message is not displayed when the field on the front end is left empty.

I have error_handling="inline" and require="name" set in exp:store:checkout. If it makes any difference I'm using membership on the site.

Have I missed something out?

Thanks! Lee

4

The mapping in Settings >> Order Fields >> order_custom1 would be more for you then the error messages. For example you might have Gender in your template you would want to have something along the lines of:

{field:order_custom1}
{if error:order_custom1}Whoa you need to select Male or Female{/if}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.