[wp-trac] [WordPress Trac] #21339: Creating new field in form builder has required checked by default, but does not set to required once saved.

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 21 21:35:13 UTC 2012


#21339: Creating new field in form builder has required checked by default, but
does not set to required once saved.
--------------------------+-----------------------------
 Reporter:  winterdev     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.4.1
 Severity:  minor         |   Keywords:
--------------------------+-----------------------------
 Repro:
 1. go to dashboard.
 2. go to pages.
 3. edit an existing page or create a page.
 4. click button to add a custom form.
 5. ensure 'form builder' tab selected.
 6. click 'edit' button on a field that is already required (such as
 'Name'. 'Required?' checkbox should be checked)
 7.Click 'add a new field' at the bottom of your custom form. (the new
 field should appear, with 'Required?' checked by default.
 8.Click 'save this field' button.

 Result/Error:
 new field is saved, but is not a required field even though the checkbox
 was checked by default.

 Expectation:
 A new field created in form builder will be saved as/set to required if
 the 'Required?' checkbox is checked.

 Side Note:
 Also, should this checkbox carry over the state (checked or unchecked) of
 the last field edited in the first place? Or should it be unchecked by
 default?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21339>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list