Custom Edit() form

Custom Edit() form

Workflow Automation ExpertWorkflow Automation Expert Posts: 14Questions: 4Answers: 0

Is it possible to customise the fields available/visible for edit() form.

In other words, I just want to enable a single field for edit() form,, but allow all multiple fields for the create() form.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    Yes, two options:

    1. Possibly the easiest option is just to have a second Editor instance, set up with only the field you want for editing, and use that Editor instance for editing, the other for creation.
    2. Use events such as initCreate and initEdit combined with the API methods show() and hide() to show and hide the fields that you want for each action.

    Allan

  • Workflow Automation ExpertWorkflow Automation Expert Posts: 14Questions: 4Answers: 0

    Thank you Allan. Successfully, used the 1st option of having separate Editor instances.

Sign In or Register to comment.