Question How do I enforce address fields?

stromb0li

Customer
I don't know how our users cannot figure out how to specify their address, but it's common for them to not fill it out and assume we magically know where they live. Is there a way to force at least 2 of the address fields to be entered, so people stop leaving them blank?

Here's an example of a recent entry...
1740509051089.webp

Similarly, is there a way to rename these to maybe say City, State/Providence, Zip/Postal Code to try and be more specific. It's a wonder on the type of data we get in these fields with them not being explicit :(
 
Last edited:
At the moment, you would need to modify dbtech_ecommerce_address_edit_macros and add
HTML:
hint="{{ phrase('required') }}" required="true"
to the various boxes.

For the phrases, you can edit these phrases:
  • dbtech_ecommerce_address_address1
  • dbtech_ecommerce_address_address2
  • dbtech_ecommerce_address_address3
  • dbtech_ecommerce_address_address4
 
Hello @stromb0li,

We hope your ticket regarding DragonByte eCommerce has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 

DragonByte eCommerce

XenForo 2.0.6+ XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,017
Customer rating
4.86 star(s) 7 ratings
Back
Top