Add custom information in modal edit form

Add custom information in modal edit form

InfolabsInfolabs Posts: 13Questions: 4Answers: 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: 54,182Questions: 1Answers: 8,456 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: 13Questions: 4Answers: 0

    Thanks Allan!

Sign In or Register to comment.