New answers tagged

0 votes

How to add css class to custom submit action errors in sitecore forms 10.2

You need to write custom CSS to apply style as per your need and add it into your form. Follow the below process. Sitecore Forms uses css and script files located in: <siteroot>/sitecore modules/...
0 votes

Customize Required field Validation message for Sitecore Forms

You can achieve it by creating a custom validator. You need to create a new class and derive it from RegularExpressionValidation. This will you some functionality concerning regular expression ...
0 votes

Customize Required field Validation message for Sitecore Forms

I think you need to do some customization to handle this. Let's see how the required validation works OOTB. The required validator is handled through this processor. Sitecore.ExperienceForms.Mvc....
  • 3,384
1 vote
Accepted

Unable to send emails via EXM using sitecore forms extensions

Is this after an upgrade perhaps? The FormsExtensions work quite differently for emails in the latest version. Anyway, what you should verify in any case: on the form in the submit action make sure ...
  • 19.6k
1 vote

Unable to send emails via EXM using sitecore forms extensions

The Email Experience Manager (EXM) supports tokens that you can use to personalize your email campaign messages. For example, in the beginning of a message, you can use the token $name$ in the ...
2 votes
Accepted

Recaptcha control not loading on Sitecore 10.2

The reason for this error is a missing callback function that should be called once the reCaptcha control is loaded. The function name is specified in the script tag: <script src="https://www....
  • 1,343
0 votes
Accepted

Failed to load Feature.FormsExtensions.Controllers.FieldBindingMapApiController

That must be an issue with upgrading from older version of Sitecore.Forms.Extensions to the newer version. In Sitecore.Forms.Extensions for Sitecore 9.0 there was a config file App_Config/Include/...
  • 21.5k
0 votes

Attaching a file uploaded from sitecore forms in the Email

using Sitecore.ExperienceForms.Models; using Sitecore.ExperienceForms.Mvc.Models.Fields; using Sitecore.ExperienceForms.Mvc.Models.SubmitActions; using Sitecore.ExperienceForms.Processing; using ...
1 vote
Accepted

Sitecore Forms with JSS, Custom Fields Submit Payload is not showing value

JSS forms use form state to send data back to the server. This data is not updated automatically from all fields on your form. In order to update the form state, you need to add onChange handler to ...
  • 3,656
1 vote

Attaching a file uploaded from sitecore forms in the Email

You can also create a Custom Send Email submit action in Sitecore Forms. This can be achieved in 2 steps Create a class that inherits from Sitecore.ExperienceForms.Mvc.Processing.SubmitActions....
  • 3,384
1 vote

Attaching a file uploaded from sitecore forms in the Email

In the Execute method of the SendEmailAction class, where the FormSubmitContext is a method argument, we can access the File Upload fields, assuming there can be more than one, get the stream of data, ...
1 vote

Is it possible to add a Sitecore Form in an iframe?

It looks like an ideal case for using Embeddable Forms Framework (EEF) that ships with Sitecore 10.3 when using forms with external sites. #2 and #3 are closely related to CSRF, brief details are here ...

Top 50 recent answers are included