Support » Plugin: Request Form for Zendesk » Submit button

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author pipdig

    (@pipdig)

    Hi @trendypixels,

    In theory this should be ok, however I’m not sure what the benefit would be. Is there a particular use-case for <button> instead of <input type="submit">? We can certainly look at changing this or at least providing a filter if that helps.

    Hey @pipdig,
    Thank you for your reply.

    I want to style the button, and add a drop shadow that inherit’s the color from the button background color with the help of a pseudo element, but the input tag doesn’t support pseudo elements.
    Here is a jsfiddle with an example.

    • This reply was modified 4 months, 3 weeks ago by TrendyPixels.

    Hey @pipdig,
    So is that possible to change somehow? maybe with filter?

    Plugin Author pipdig

    (@pipdig)

    Apologies for the delay in replying. We will add a filter in the next update, which should be ready within the next 24-48 hours. I’ll reply via this thread to let you know asap.

    Plugin Author pipdig

    (@pipdig)

    Hi @trendypixels,

    This has been pushed in update 2.9.7. You can now use the following filter to convert the input button to an HTML button

    add_filter('zrf_submit_as_button', '__return_true');

    @pipdig thank you very much for adding this filter.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.