submit to API

  • /attachments/1319002555698642944/1319002555917009028/image.png

    Higolol

    27 days ago

    Help me to understand submit. I am testing in API test passes successfully, but when I press submit is not
    image.png
  • Tom Ireland

    27 days ago

    Hey! If the button is a child element on the form, it should trigger the submit event. Is the Submit event attached to the form element?
  • Tom Ireland

    27 days ago

    If you try it in test mode, you should see a response from your API immediately after the submit event. If not, it would indicate a potential problem but we'd need to see how the element has been configured to get a better idea. If you continue to have problems, can you share a short video? Alternatively, if your branch is public and you don't mind someone having a look, you can share your branch URL. πŸ‘
  • Higolol

    27 days ago

    I'v gat it. You need to use form to submit, not a button on this form.
  • Tom Ireland

    27 days ago

    Yes, you need a submit event on the form element and the button as a child element of the form will submit it when clicked or enter is pressed. Otherwise, place the button outside of the form e.g. sibling element, use a click event and handle form data manually. πŸ‘
  • Tom Ireland

    27 days ago

  • Landyn

    27 days ago

    Thanks! I completely missed that too and had the submit tied to the button and not the form. Appreciate the troubleshooting!
    πŸ‘1

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code β€” but accessible to your entire team!

Try toddle β€” it's free!

Β© Copyright 2024 toddle. All rights reserved.