0

I'm new to sitecore development so am possibly missing some basic concepts, but using sitecore 9.11 I've managed to create a custom form submit action, that sends an email with the form values so a specific email address. However, I want to make this action reusable for different forms with a configurable target email address. I have worked out I need to add a parameter to be set when adding the action to a submit button but have not been able to find any documentation on how to actually do that. Can someone point me in the right direction.

enter image description here

3
  • Does this answer your question? Custom Submit Action Sitecore 9 Forms Nov 23, 2023 at 4:51
  • I don't think, so. I'm hoping for a parameter that is configured when attaching it action to the button, like if you use the redirect action you configure the target url. In that answer the section about specifying the parameter is only when registering the action in Sitecore, so would need to register an instance of the action for each form.
    – Cliff B
    Nov 23, 2023 at 5:01
  • I've have had some success with this guide sitecorethinker.wordpress.com/2021/11/28/… I now have a dialog with an email address text box. I am having other issues with the OK button being disabled, but the dialog is now linked to the parameters and submit action, so I'll class this as resolved.
    – Cliff B
    Nov 27, 2023 at 2:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.