0 Replies Latest reply on Jun 30, 2017 7:35 AM by Courtney Grimes

    Forms 2.0: can getFormElem/showErrorMessage be used with Rich Text elements?

    Courtney Grimes

      I have some custom logic that requires a user on a form to perform an action within a rich text field before allowing a form to be submitted, and I'd like to use Marketo's standard error handling to alert the person if they have not correctly done this—I'm already using it for several other messages. Is there a way to use getFormElem and showErrorMessage against a rich text element vs. a form element? Right now I just have the error message pop up elsewhere on the form and it's less than ideal.

       

      I realize I could just write a separate way to locate the rich text area and display the message but I'd rather not if not explicitly necessary.