Form set in markdown.

Hello Guys,

I tried to migrate my existing website from Statamic V2 - V3, I am facing issue in forms.

In V2, we have include the below code in Markdown which worked well. But in Version 3, it throwing error. I have tried to place this below code in ANTLERS file working fine. But Can't able to use from markdown.

Error

Exception
A form handle is required on Form tags. Please refer to the docs for more information

Code

 {{ form:set is="pay-per-click"}}
    {{ if {form:success} }}
    {{ form:submission }}
    Thanks your, {{ name }}.<br />
    Our executives will reach you to your email {{ email }}
    {{ /form:submission }}
    {{elseif {form:errors} }}
    <ul>
        {{ form:errors }}
        <li style="color: #FF5722 !important">{{ value }}</li>
        {{ /form:errors }}
    </ul>
    <div style="text-align: center">
        <a href="/forms" style="color: #03bc8f !important">Submit Again</a>
    </div>
    {{else}}
    {{ form:create  }}
    {{ fields }}
    <div class="form-group">
        <label>{{display}}</label>

        <input type="text" class="form-control" name="{{ handle }}" value="{{ value }}" />

    </div>
    {{ /fields }}
    <button class="btn btn-primary btn-block">Submit</button>
    {{/form:create}}
    {{/if}}
    {{/form:set}}
Answered by Jack McDade!
>>>>>>> Answered <<<<<<<
1 Reply
2 Followers