FLUID-2164: OSDPl: investigate conditional validation for CCK form

Metadata

Source
FLUID-2164
Type
Task
Priority
Major
Status
Closed
Resolution
Won't Fix
Assignee
Jonathan Hung
Reporter
Jonathan Hung
Created
2009-01-27T11:26:35.000-0500
Updated
2014-04-02T16:35:54.200-0400
Versions
  1. 0.7
Fixed Versions
N/A
Component
  1. OSDPL

Description

Investigate whether it is possible to have a conditional validation of the pattern entry form. We should allow authors to submit incomplete patterns unless they Publish.

When conditional form validation is implemented, consider putting the submit button on every tab. With conditional validation, it's easier to edit and save frequently and not be barraged with error messages. Implementing this feature will greatly help usability of the pattern entry form and make workflow less painful.

Comments

  • Jonathan Hung commented 2009-01-27T14:16:20.000-0500

    Using CCK Validation, it is possible to implement conditional validation on a CCK form.

    Depending on which workflow option is selected on the CCK form, the validation code checks the value and validates only the fields required for that state in the workflow.

    Currently this is working for test data.

    To roll out completely for the ui design pattern type:
    1. change the custom validation to check for the uidp type.
    2. remove the "Required" parameter for all fields except for Title and Category since the requirement implementation is carried out in the custom validation.
    3. Make sure the form UI communicates what is required during the workflow. (i.e. "Solution Description (required for Publishing), "Title (mandatory)").

  • Daphne Ogle commented 2009-03-05T14:49:35.000-0500

    iteration30