Support » Plugin: GamiPress » Link is not working for Element with Type Submit attribute

  • Resolved donniesilalahi


    Thanks for the great plugin!

    I already try the Gamipress Link Add-Ons, both the shortcode and custom element and find success in many attempts.

    However, the link is not working for any element that has a type submit attribute. Such as input with type submit, anchor with type submit, and button with type submit. I already tried to rearrange so many arrangements too.

    The achievement is recorded, but the form submission action itself is not there.

    Can you help me figure this out?

    I think your answer will beneficial to others. As solving this issue will open the door for Gamipress implementation in Custom post type as most use Submit function.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rubengc


    Hi @donniesilalahi

    The click events just will be triggered if this element has the class gamipress-link

    Independent of other attributes (as the “type” attribute) the click event should be triggered if has the correct class

    Anyway, this is a customization and we can’t provide support to customizations, sorry

    Best regards

    Thread Starter donniesilalahi


    Hello Ruben, thanks for the reply.

    However, I am not asking for customizations here šŸ˜
    What I am saying is that it is not working with the attribute type=submit

    You and the team may want to check it.
    I already applied all the requirement in order for the event to be triggered.
    Adding code in function.php or just like you said, put class gamipress-link.

    Just to encourage you and the team to check it. I try all possible scenario for the implementation. I put it down below with trigger specific ID: gamisubmit


    <input type=”submit” id=”gamisubmit” class=”gamipress-link button” value=”<?php esc_attr_e(‘wp-job-manager-applications’ ); ?>”/>

    <div id=”gamisubmit”>
    <input type=”submit” class=”gamipress-link button” value=”<?php esc_attr_e(‘wp-job-manager-applications’ ); ?>”/>

    <div id=”gamisubmit” class=”gamipress-link”>
    <input type=”submit” class=”button” value=”<?php esc_attr_e(‘wp-job-manager-applications’ ); ?>”/>

    Thank you for the time and consideration. May this case involve Gamipress even further.

    Plugin Author rubengc


    Hi @donniesilalahi

    Make GamiPress – Link events work outside links generated by [gamipress_link] shortcode is a customization

    Probably you have another script that block the click event on input with this attribute or probably you don’t enqueue the GamiPress – Link scripts as described on the GamiPress – Link FAQ section

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Link is not working for Element with Type Submit attribute’ is closed to new replies.