| @@ -36,9 +36,9 @@ | ||
| 36 | 36 | */ |
| 37 | 37 | protected $input_confirm_label_fallback; |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * Encrypted label for the confirmation input field. | |
| 40 | + * Encoded label for the confirmation input field. | |
| 41 | 41 | * |
| 42 | 42 | * @var string |
| 43 | 43 | * @since 0.0.2 |
| 44 | 44 | */ |
| @@ -44,9 +44,9 @@ | ||
| 44 | 44 | */ |
| 45 | 45 | protected $input_confirm_label; |
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | - * Unique slug for the confirmation input field, combining the form slug, block ID, and encrypted label. | |
| 48 | + * Unique slug for the confirmation input field, combining the form slug, block ID, and encoded label. | |
| 49 | 49 | * |
| 50 | 50 | * @var string |
| 51 | 51 | * @since 0.0.2 |
| 52 | 52 | */ |
| @@ -81,9 +81,9 @@ | ||
| 81 | 81 | $this->set_duplicate_msg( $attributes, 'srfm_email_block_unique_text' ); |
| 82 | 82 | $this->slug = 'email'; |
| 83 | 83 | $this->is_confirm_email = $attributes['isConfirmEmail'] ?? false; |
| 84 | 84 | $this->input_confirm_label_fallback = __( 'Confirm ', 'sureforms' ) . $this->input_label_fallback; |
| 85 | - $this->input_confirm_label = '-lbl-' . Helper::encrypt( $this->input_confirm_label_fallback ); | |
| 85 | + $this->input_confirm_label = '-lbl-' . Helper::encode( $this->input_confirm_label_fallback ); | |
| 86 | 86 | $this->unique_confirm_slug = 'srfm-' . $this->slug . '-confirm-' . $this->block_id . $this->input_confirm_label; |
| 87 | 87 | $this->read_only = ! empty( trim( $this->default ) ) && $attributes['readOnly']; |
| 88 | 88 | $this->set_unique_slug(); |
| 89 | 89 | $this->set_field_name( $this->unique_slug ); |