Unable to edit success message on custom form

I have added a very simple custom form solely asking for a users email address. Every time I click +Add success message and try to “Edit Text”, the text box that says “Your content has been submitted” freezes. I cannot move the text box or edit it. My only option is to delete it.

Any help out there? Contact form is in the footer at smithydallas.com

Hello!

I checked your page and there seems to be some issue with the editor. Fortunately, you can try this simple workaround:

  1. Instead of clicking ‘+Add success message’, manually add a text element .

  2. Press Connect to Data button.

  3. In the Connect a dataset dropdown choose the dataset your form is connected to.

  4. In the Text connects to dropdown choose the option Submit Succeeded .
    Now you should be able to edit the success message.

Let me know if you face any problems along the way.

Good luck!
Vytautas

Thank you, Vytautas! This did allow me to edit the success message. However, when I hit the submit button, the default input text reappears and my new success message appears over it. It does not look quite right. Any tips for this as well?

Add an onAfterSave event handler to the dataset. Inside the handler, either hide the input, or set the placeholder to empty.

export function dataset1_afterSave() {
    $w('#input1').hide()
    // OR
    // $w('#input1').placeholder = ''
}

Let me know if you face any problems along the way.

Good luck!
Vytautas

Also, you can hide the submit button in the same handler if you want. And any other element for that matter.