Viewing 5 replies - 1 through 5 (of 5 total)
  • Were you able to include the form via shortcode?

    Thread Starter AnwarSubhi

    (@anwarsubhi)

    No, as a workaround I’ve put html code inside the page.

    Makes sense.

    I had a handcoded form that was being handled via php’s mail function, but now the project requires a CMS friendly solution so here I am.

    Can you tell me how did you make it work? Where did you pointed the action attribute of your custom form?

    Thanks.

    Thread Starter AnwarSubhi

    (@anwarsubhi)

    Not quite sure I remember, that was like 1 month ago … but this should be quite simple to accomplish … just try to activate the plugin in any way possible and after that check the frontend for the html code.

    The following custom form worked for me:

    <form id="subscription_frm" method="post" class="sml_subscribe">
    <input class="sml_hiddenfield" name="sml_subscribe" type="hidden" value="1">
    <input type="email" name="sml_email" placeholder="ENTER EMAIL ADDRESS..." required />
    <input type="submit" id="subscription_submit" value="SIGN UP" />
    </form>
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘shortcode’ is closed to new replies.