base-message.php
3 years ago
is-char-max.php
3 years ago
is-char-min.php
3 years ago
is-date-max.php
3 years ago
is-date-min.php
3 years ago
is-empty-value.php
3 years ago
is-file-ext.php
3 years ago
is-file-size.php
3 years ago
is-files-max.php
3 years ago
is-not-complete-mask.php
3 years ago
is-not-valid-email.php
3 years ago
is-not-valid-url.php
3 years ago
is-number-max.php
3 years ago
is-number-min.php
3 years ago
is-not-complete-mask.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace Jet_Form_Builder\Blocks\Validation_Messages; |
| 5 | |
| 6 | |
| 7 | use Jet_Form_Builder\Blocks\Types\Text_Field; |
| 8 | |
| 9 | class Is_Not_Complete_Mask extends Base_Message { |
| 10 | |
| 11 | public function get_id(): string { |
| 12 | return 'inputmask'; |
| 13 | } |
| 14 | |
| 15 | public function supported_blocks(): array { |
| 16 | return array( |
| 17 | Text_Field::class, |
| 18 | ); |
| 19 | } |
| 20 | |
| 21 | public function get_label(): string { |
| 22 | return __( 'Input mask is not completed', 'jet-form-builder' ); |
| 23 | } |
| 24 | |
| 25 | public function get_initial(): string { |
| 26 | return __( 'Please fill in the field according to the input mask.', 'jet-form-builder' ); |
| 27 | } |
| 28 | } |