diff --git a/classes/inputs/input.text.php b/classes/inputs/input.text.php index 023ed38..4082216 100644 --- a/classes/inputs/input.text.php +++ b/classes/inputs/input.text.php @@ -30,7 +30,7 @@ function __construct() { private function get_settings() { - $regex_help_url = 'https://github.com/RobinHerbots/Inputmask#any-option-can-also-be-passed-through-the-use-of-a-data-attribute-use-data-inputmask-the-name-of-the-optionvalue'; + $regex_help_url = 'https://docs.themeisle.com/article/2060-input-masking-documentation-for-field-configuration'; $input_meta = array( 'title' => array( @@ -93,8 +93,8 @@ private function get_settings() { 'input_mask' => array( 'type' => 'text', 'title' => __( 'Input Masking', 'woocommerce-product-addon' ), - 'desc' => __( 'Click options to see all Masking Options', 'woocommerce-product-addon' ), - 'link' => __( 'Options', 'woocommerce-product-addon' ), + 'desc' => __( 'Input masking ensures that users input data in predefined formats.', 'woocommerce-product-addon' ), + 'link' => __( 'Options', 'woocommerce-product-addon' ), 'col_classes' => array( 'col-md-3', 'col-sm-12' ), ), 'width' => array( @@ -119,18 +119,19 @@ private function get_settings() { 'desc' => __( 'Role separated by comma.', 'woocommerce-product-addon' ), 'hidden' => true, ), - 'use_regex' => array( - 'type' => 'checkbox', - 'title' => __( 'Use Regex Expresession', 'woocommerce-product-addon' ), - 'link' => __( 'See More', 'woocommerce-product-addon' ), - 'col_classes' => array( 'col-md-3', 'col-sm-12' ), - ), 'onetime' => array( 'type' => 'checkbox', 'title' => __( 'One Time Fee/Charge', 'woocommerce-product-addon' ), 'desc' => __( 'Will not multiply with quantity', 'woocommerce-product-addon' ), 'col_classes' => array( 'col-md-3', 'col-sm-12' ), ), + 'use_regex' => array( + 'type' => 'checkbox', + 'title' => __( 'Enable Regex for Input Mask', 'woocommerce-product-addon' ), + 'desc' => __( 'Enabling this option allows the input mask field to interpret the provided pattern as a regular expression (regex).', 'woocommerce-product-addon' ), + 'link' => __( 'See More', 'woocommerce-product-addon' ), + 'col_classes' => array( 'col-md-3', 'col-sm-12' ), + ), 'desc_tooltip' => array( 'type' => 'checkbox', 'title' => __( 'Show tooltip (PRO)', 'woocommerce-product-addon' ),