Privacy Policy Checkbox with html Link
-
Hi, great plugin which I use on a webpage which is in dev right now. As I host this in the EU there was just a little issue which I want to report. I had to implement a privacy Link in the checkbox field which I was unable to do via the field options, so maybe you can add this in a future release. Just modified the gutena-forms.php line 400
<input type="' . esc_attr( $attributes['fieldType'] ) . '" name="' . esc_attr( 'radio' === $attributes['fieldType'] ? $attributes['nameAttr'] : $attributes['nameAttr'].'[]' ) . '" value="' . esc_attr( $option ) . '<h4 class="wp-block-heading heading-input-label-gutena" style="text-transform:lowercase">agree to the <a target="_blank">Privacy Policy</a>.*</h4> <span class="checkmark"></span> </label>'; } } $output .= '</div>';
and set the options field to the first word of the sentence, in this case an “I”. Maybe this is also possible via options?
Kind regards,
Anil
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Privacy Policy Checkbox with html Link’ is closed to new replies.