• Resolved tangentdesign

    (@tangentdesign)


    Hi.

    Good work on this plugin. just found your plugin days ago. Love it so far.

    We are using Free account for now and need help if you can
    Receiving message “undefined” after submit form sucessful. Email being sent/received inbox. No ideas why showing “undefined”. Please help.

    The sucess message should say “Your submission for HydroHeat Installer Training request was sent successfully. You’ll receive a confirmation email shortly, we’ll be in touch as soon as possible. Thanks.”.

    Many thanks.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author roundupwp

    (@roundupwp)

    Hey tangentdesign,

    I see there is a flaw with the code that adds the success message when there are more than one registration form on the page. I’ll fix this in the next update. In the meantime, try adding this to the “Custom JavaScript” area on the “Form” tab:

    var rtecSuccessMessage = jQuery('.rtec-form-1').length ? jQuery('.rtec-form-1').attr('data-rtec-success-message') : 'Your submission for HydroHeat Installer Training request was sent successfully. You\'ll receive a confirmation email shortly, we\'ll be in touch as soon as possible. Thanks.';
    jQuery('.rtec').each(function() {
        if (typeof jQuery(this).attr('data-rtec-success-message') === 'undefined') {
            jQuery(this).attr('data-rtec-success-message',rtecSuccessMessage);
        }
    });
    Thread Starter tangentdesign

    (@tangentdesign)

    It worked! Thanks heaps. Excellent support. Love you guys

    Plugin Author roundupwp

    (@roundupwp)

    I see I never responded!

    Glad that worked! I hope all is well with the project.

    – Craig

    Hey there,
    i have the same problem on my site, but your fix won’t work for me.

    here is my page

    user: wfg
    psw: 12er34qww

    Plugin Author roundupwp

    (@roundupwp)

    Hello kalimeromax,

    It looks like you change the id of the “rtec” element to “anmeldung”. Does that sound right? This seems to be causing the issue. Like I mentioned previously, the way the success message is displayed is not ideal and I will change this in an update.

    In the meantime, can you try adding this to the “Custom JavaScript” area? You will want to replace the existing code:

    var rtecSuccessMessage = jQuery('.rtec-form-1').length ? jQuery('.rtec-form-1').attr('data-rtec-success-message') : 'Ihre Anmeldung war erfolgreich. Bitte überprüfen Sie Ihre E-Mail Posteingang für eine Best?tigungsnachricht.';
    if (!jQuery('#rtec').length) {
        jQuery('.rtec').first().before('<span id="rtec"></span>');
        jQuery('#rtec').attr('data-rtec-success-message',rtecSuccessMessage);
    }

    Thanks,

    Craig

    Plugin Author roundupwp

    (@roundupwp)

    Also, I forgot to mention that I made a test registration. Feel free to delete this record (Roundup Test).

    – Craig

    Awesome! That did the Trick.
    Thank you for your fast response!

    Best regards
    Max

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Showing message “undefined”’ is closed to new replies.