• Resolved abhijeetub

    (@abhijeetub)


    I am trying to use custom form but it doesn’t display error or success messages. Here is the code I am using:
    [msdyncrm_twig]
    {% form entity=”lead” mode=”create” required=[“firstname”, “companyname”, “mobilephone”] message={ “success”: “Form submitted.”, “error”: “Submission failed.” } %}
    <form method=”POST”>
    <input name=”firstname” type=”text” placeholder=”First Name” class=”customfeild”>
    <input name=”companyname” type=”tel” placeholder=”Company” class=”customfeild”>
    <input name=”mobilephone” type=”text” placeholder=”Mobile Number” class=”customfeild”>
    <button class=”button custombutton” type=”Submit”>Text me a demo</button>
    <input type=”hidden” name=”_key” value=”{{form.key}}”>
    </form>
    {% endform %}

    [/msdyncrm_twig]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘success and error message not working’ is closed to new replies.