Add custom information in modal edit form

Add custom information in modal edit form

InfolabsInfolabs Posts: 19Questions: 5Answers: 0

Hello,
I'm using editor with "main editing" form.
In addition to the filelds I'd like to show some information in the footer of the modal (e.g. date/time/user od record creation, last update, etc.).
How can I achieve this?
Thanks

Replies

  • allanallan Posts: 61,642Questions: 1Answers: 10,093 Site admin

    message() is the method that is intended for adding extra information to the form, but it shows at the top of the form, rather than in the modal footer.

    Currently the only documented way of putting information into the modal footer is to use the error() method. You could use that and then use a bit of CSS to make it not red (since that is how we display the error message).

    Or you could listen for the open event and then inject content directly into the div.DTE_Footer element. You'll need a bit of CSS to make it display properly though.

    Regards,
    Allan

  • InfolabsInfolabs Posts: 19Questions: 5Answers: 0

    Thanks Allan!

Sign In or Register to comment.