Uploaded image for project: 'Magnolia Form Module'
  1. Magnolia Form Module
  2. MGNLFORM-117

One should be able to pre-fill form fields

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.3.3, 1.4.2
    • 1.3.1
    • None
    • None

      Since it apparently is "best practice" to use the form module to for all kinds of user interaction one should be able to pre-fill form fields when displaying the form. A perfect example to illustrate this need is the stkPURUpdateForm paragraph which allows the user to update info about his/her user account. The form however is displayed empty. One can create a custom form engine and a form step state which sets the values in the fields, but you cannot add this manually created form state to the form engine (no setter method and private formState attribute). So either a setter method should be provided or then we should have an additional "formValuesInit" method which takes a hash with the values and does the rest.

        Acceptance criteria

              ochytil Ondrej Chytil
              will Will Scheidegger
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD