• Resolved cynicalwebsite

    (@cynicalwebsite)


    Added class (daily-dose-button) to form field for submit button.

    Using Chrome inspect, this is the button. Class name is not being passed (search with inspect returns nothing, indicating it is not being passed at all).

    <button type=”button” class=”button-submit” onclick=”fm_submit_form(‘8’);” data-ajax=”0″><span class=”fm-submit-loading spinner fm-ico-spinner”></span>Get Cynical!</button>

    Using version 1.13.49

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cynicalwebsite

    (@cynicalwebsite)

    Correction: It is being applied, but to the wrong element. It is being applied to the <div> before the button. Thus, the frame around the button and not the button itself is receiving the class.

    <div class=”wdform-element-section wd-flex daily-dose-button wd-flex-row wd-justify-content-left wd-width-100″>

    <button type=”button” class=”button-submit” onclick=”fm_submit_form(‘8’);” data-ajax=”0″><span class=”fm-submit-loading spinner fm-ico-spinner”></span>Get Cynical!</button>

    <button type=”button” class=”button-reset wd-hidden” onclick=”fm_reset_form(8);”>Reset</button></div>

    Plugin Support Zhanna Khachatryan

    (@zhannak)

    Hi @cynicalwebsite,

    Thanks for your inquiry.

    Dear friend, the button is constructed that way and we cannot change it now. We see you have got a solution by adding CSS to .daily-dose-button button.
    is there anything else that you want to do and fail?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Class on submit button not working’ is closed to new replies.