0

I am new to Sitecore Forms (SC 9.3).

What I want to achieve seems very simple, can't believe it's not possible in Sitecore.

I just want to create a simple form with 1 field (E-mail) and have it posted to an external URL.

The final HTML needs to look something like this:

<form action="https://my-custom-url.com" method="POST">

 <input type="text" name="" id="">
 <input type="submit" ... />
</form>

That's all. But I can't find a way to do such a simple thing!

Thanks.

Note: I now there's a "redirect" feature, but that's not what I am looking for. I just want to post the form to a custom URL - that's all.

3
  • Do you need to use Experience Forms for this? What is the purpose of posting to an external URL?
    – Richard Seal
    Jan 19 '21 at 21:33
  • That's not what experience forms is designed for. You could instead add a custom submit action to post to the external url. Jan 19 '21 at 23:09
  • 1
    Hi. Thanks for replying. I want to post a few fields to ClickDimensions. ClickDimensions receives the post data, saves it in CRM and redirects the user to a "return Url" (configurable). Maybe that's not the intention of Experience Forms, like said?
    – Victor Lee
    Jan 20 '21 at 2:51
1

You need to create a custom Submit action and insert that on your Submit button in form builder. You can see on this example 2 submit actions, one is custom: "Submit To Service Bus" and "Redirect to Page" OOTB.

enter image description here

check on sitecore link. https://doc.sitecore.com/developers/91/sitecore-experience-manager/en/walkthrough--creating-a-custom-submit-action.html

1
  • Thanks. Though I acknowledge this is not a solution that will work for my case in particular, I am considering the correct answer as it explains how to implement what was actually asked by me.
    – Victor Lee
    Jan 25 '21 at 18:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.