Skip to content

Template wsnone does not capture all fields #110

@WingedRobot

Description

@WingedRobot

FlexForm version 2.8.0
MediaWiki version 1.43.6

Only the final text field (in this example) will be included in the page generated by _create when using the wsnone default template. Changing their order doesn't seem to affect the outcome.

<form show-on-select="show-on-select" action="get">
    <label for="name">Name:</label>
    <input type="text" name="fullname" required/>

     <br><label for="email">Email:</label>
     <input type="email" name="primaryemail" required/>

     <br><label for="phone">Phone Number:</label>
     <input type="tel" name="phone" id="phonenumber" />

     <br><input type="checkbox" name="callconsent" />
     <label for="callconsent">You may call me.</label>

     <br><input type="submit" value="submit" />
     <_create mwwrite="submission/" mwtemplate="wsnone" mwoption="next_available" />

</form>

Input:

Name: A Name
Email: a@b.c
Phone Number: 212121

  • You may call me.

Page generated
212121 |callconsent=on

Putting the checkbox input first only captures the final text field.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions