Sadulla
Forum Replies Created
-
Thank you so much. It just worked after I disabled Single Message option in Post to Telegram.
I’ve sent the log file links to the mentioned telegram channel.
Thank you for your help in advance!
Forum: Plugins
In reply to: [SpeakOut! Email Petitions] Can I make email field optionalThank you so much dear. Tt really helped me out π
Forum: Plugins
In reply to: [SpeakOut! Email Petitions] Can I make email field optionalYes, exactly!
Actually I just want to find the if condition code for same email confirmation.Can you tell me when I can find and disable it?
Also I’ll appreciate if you could tell me your way(random_string) to do this process.
Forum: Plugins
In reply to: [SpeakOut! Email Petitions] Can I make email field optionalI see π
But actually I’m about to make a petition to some refugees who may does not have email addresses.
I have added a phone number choice and also email address and make neither phone or email address required with javascript.I also tried to remove required property in emailpetition.php
if ( $petition->hide_email_field != 1 ) {
$petition_form .= ‘<div class=”dk-speakout-full”>
<input name=”dk-speakout-email” id=”dk-speakout-email-‘ . $petition->id . ‘” value=”‘ . $userdata[ ’email’ ] . ‘” type=”email” placeholder=”‘ . __( ‘Email’, ‘speakout’ ) . ‘” required=”required” /></div>’;
}`And remove the following from public.js
// if email is empty or doesn’t fit regext and IS being displayed
if ( ( email == ” || emailRegEx.test( email ) == false ) && hide_email_field == 0 ) {
$( ‘#dk-speakout-email-‘ + id ).addClass( ‘dk-speakout-error’ );
errors ++;
}`But when I try to submit form with an empty email, I can not add another entry with empty, it says already submitted with the same email address!
Thank you so much! π