Questions tagged [sitecore-forms]

Sitecore Forms application to construct web forms that record and report information provided by contacts to your website. Questions related to Sitecore 9+ "Sitecore Forms" module should use this tag.

Filter by
Sorted by
Tagged with
3 votes
0 answers
22 views

Is it possible to use Custom Form Elements in JSS? If yes, how?

We are trying to include Sitecore Forms in our React Application using JSS. We're able to include regular forms, but when trying to use custom form elements using the design of the customer, we get an ...
user avatar
  • 31
0 votes
1 answer
36 views

Enable remove contact and view contact card in list manager (sitecore 10.2)

I'm extending the IServicesConfigurator in order to create custom fields in the list manager contact following : https://doc.sitecore.com/xp/en/developers/102/sitecore-experience-manager/walkthrough--...
user avatar
  • 1
0 votes
1 answer
31 views

Setup value provider for dropdown list field in Sitecore forms using IFieldValueProvider

I have a doubt regarding setting up a value provider for prefilling Sitecore forms, I can see there are examples for simple text input fields, and it's working, but when I try to set up a value ...
user avatar
0 votes
1 answer
45 views

Why is value always null when using Sitecore Forms with a custom validator?

I'm using a custom validator for ReCaptcha on Sitecore forms. I've followed all of the instructions in the Sitecore docs for creating the validator, field type, etc. Does anyone know why this override ...
user avatar
0 votes
2 answers
42 views

How to Create a dropdown list with external data in Sitecore 9.0.2 Forms

Sitecore version: 9.0.2 How can I create a dropdown in Sitecore 9.0.2 form and bind data from external data sources like SQL server?
user avatar
0 votes
1 answer
27 views

Sitecore 9.3 forms Robot Detection Steps

I am starting with Sitecore Forms. When I am going to create new form, I have a message on the top "You must have Sitecore xDB installed and robot detection in Experience Analytics configured to ...
user avatar
  • 113
1 vote
1 answer
53 views

Sitecore Forms Captcha Validation Message showing intermittently

we are using Sitecore forms with Captcha for forms validation. If we are doing a hard refresh (first-time load), It will not show a validation message for captcha. If we refresh the page a second ...
user avatar
1 vote
1 answer
147 views

Forms message - Your session has expired. Please refresh this page

I started a new browser session, navigated straight to a page with a form on it, then left the page open for a few minutes, when I started filling the form I received a window alert with Your session ...
user avatar
  • 4,735
3 votes
1 answer
64 views

Sitecore Forms starts tracking (analytics) despite explicit consent for tracking has been set true for a site

Environment: SXA 10x, Azure PaaS I have configured the SXA site to require explicit tracking consent by adding this setting to site properties explicitConsentForTrackingIsRequired = "true". ...
user avatar
0 votes
0 answers
46 views

Validation message is showing HTML tags

I wanted to use anchor tag in Checkbox so I created a custom checkbox field. The custom checkbox view looks like this <label class="@Model.LabelCssClassSettings.CssClass"> <...
user avatar
2 votes
1 answer
57 views

Attaching a File to an Email sent from Sitecore Forms Extensions

I'm using the File Upload field in sitecoreformsextentions module with SXA 1.8 and Sitecore 9.02. According to the documentation for the send email action it should be attached to the email: And it ...
user avatar
2 votes
1 answer
33 views

Update Reply-To Field while using Send Email with EXM Submit Action

We are planning to alter the "Reply to" from the message template while sending the email using EXM in Sitecore 10.1.2. Can we pass any value into this field for automated email sends? Is ...
user avatar
0 votes
0 answers
48 views

Custom Hidden Field - multiple instances have same value

I have created a custom Sitecore Forms field for a Hidden field: [Serializable] public class HiddenFieldViewModel : InputViewModel<string>, IBindingSettings { public bool StoreBindingValue { ...
user avatar
0 votes
0 answers
41 views

Get custom validation enabled on Sitecore Forms component

I've tried to add a new CAPTCHA control in Sitecore forms because reCAPTCHA (being Google) isn't allowed in China. I've set it up and am able to add the control to Chinese forms and I've added a ...
user avatar
0 votes
1 answer
56 views

How to export and import PDF of form?

We have a client that has the following functionality on their existing site: Content Editors can create / edit a form as required. They can then click a check a box, within the form editor that ...
user avatar
0 votes
0 answers
29 views

Multiple emails triggerred on submit of Sitecore Forms

We are working on Sitecore 9.3 and Sitecore Forms. When we submit the form, it triggers more than on email intermittently. Sometimes it triggers 1 mail, sometimes 2 mails and sometimes 3. I tried to ...
user avatar
3 votes
1 answer
48 views

Disabling Form elements for non-administrators

We want to disable specific Form elements in Sitecore Forms for all users that aren't administrators. I tried to do so by setting the read permission to deny on the field type (under /sitecore/system/...
user avatar
0 votes
0 answers
19 views

sitecore 9.3 form dropout event

In sitecore 9.3 I have created form .It will display a confirmation message when the user submits the form. In Experience Profile I saw the form dropout event but there is no Form submit success event ...
user avatar
  • 97
0 votes
0 answers
16 views

Sitecore Forms Dynamic List doesn't get recursive children

I am using Sitecore 10.0 update 1, when using a list inside Sitecore forms and setting the data source to dynamic, it displays only the first level under the selected node but it doesn't recursively ...
user avatar
  • 767
0 votes
0 answers
32 views

Custom Sitecore Form element throws a "null entry for parameter templateId of non-nullable type System.GUID" exception

I'm creating a custom Sitecore Form element of a type of Hyperlink, however when adding this element to a Form it throws an exception: Here is a log message: What am I missing? Any suggestion would ...
user avatar
0 votes
1 answer
78 views

Enable Robot Detection in 10.1 Forms

After upgrading from 9.3 to 10.1, the 'Robot detection enabled' checkbox is uncheackable in form settings. Compared with docs: Xdb enabled XdbTracking enabled AutoDetectBots enabled @Html.Sitecore()....
user avatar
0 votes
0 answers
50 views

Is there a way to retrieve Sitecore Forms Field Visibility on Server Side

Using Sitecore Forms sc 10.0 , I am trying to identify whether a field is hidden or part of a hidden section from Server side FormSubmitContext Fields (in SubmitActions). These fields are shown/hidden ...
user avatar
0 votes
0 answers
37 views

Sitecore 10.1.1 XP single TypeError: Cannot set properties of undefined (setting 'BindingTarget')

I get blank screen and console error when I try to add send email action in Sitecore 10.1.1. I'm using Sitecore XP Single. Steps to reproduce Open or Create a Sitecore form Add Submit action Send ...
user avatar
0 votes
0 answers
43 views

Multipage Forms - Capture page number on front-end

I am using Sitecore Forms to create a multi-page form. I need to capture the form page number each time a page is loaded, is it possible to capture this info on the front-end?
user avatar
0 votes
0 answers
78 views

How can I get UploadedFile (upload from out of box Sitecore Form) Blob / fileContent?

How can I retrieve Filecontent from [sitecore_forms_filestorage].[FileStorage] based on id value? I tried the below code, but got a "_fileStorageProvider is null" error. Guid fieldid = Guid....
user avatar
2 votes
2 answers
68 views

Set the value of custom Xdb field on custom Sitecore 9 form custom button click

I have created a Sitecore 9 form with a custom button as shown below: On click of this "Subscribe" button I am saving the email of the contact in Xdb (Experience profile). Also, I have ...
user avatar
2 votes
1 answer
117 views

Sitecore 9.2 Forms - How to get Submit button field details in the submit action

We have a custom submit button which has additional properties(ex:PdfTemplate). While trying to fetch the field values on the submit action(using formsubmitcontext.fields) I am able to get the field ...
user avatar
  • 51
1 vote
1 answer
144 views

What are the hidden Input Fields added by default in Sitecore 9 Forms?

I'm using Sitecore 9 Forms currently (not WFFM forms). After adding a Single-Line Text element, when I look at the HTML output generated by the form, I noticed that there are 2 additional hidden input ...
user avatar
  • 33
0 votes
0 answers
33 views

Custom Section in Sitecore Form Sitecore 9.2

I want to create a custom section in sitecore form with CSS ID attribute. And I created that however, the CSS ID value is not getting saved when I save that form. On click of Apply, its retaining ...
user avatar
0 votes
0 answers
49 views

Sitecore-JSS-form-React -- Required Validation triggers on form submission, though field has value

We are experiencing an issue with Sitecore JSS forms with react, when the form submission happens, required validation triggers for a millisecond. Scenario 1:- If we intentionally put a integer in an ...
user avatar
0 votes
0 answers
26 views

How to access form data in sitecore 10? [duplicate]

I need to access the form data in sitecore. I have created a form in sitecore forms. Do we have to create a custom submit action for that? Or we have any other way also?
user avatar
0 votes
1 answer
37 views

Post an XML to a webservice with the sitecore form fields

I am working on an application where I created a form using sitecore forms. When the user submits the form, It should read all the fields from the forms and add it to XML element and post the XML ...
user avatar
  • 1
3 votes
1 answer
170 views

How to download a PDF file from Sitecore Form(9.2) custom submit action

I have a pdf file of type byte array. Using Sitecore form custom submit action, I need to download / open the same as pdf in users machine. I tried to achieve the same by adding response headers for ...
user avatar
  • 51
0 votes
0 answers
63 views

Sitecore.NET 9.0.1 (rev. 171219) Form field reverts to a CMS login screen element

I have this strange bug in Sitecore Forms (DLL File Version 1.1.1.295) that occasionally causes a form to fail to render and display a screen like this: This always occurs as I'm clicking and ...
user avatar
2 votes
1 answer
256 views

How to show success message alert on form submit in Sitecore 9 Forms in the same page?

I am trying to implement a custom Sitecore 9 Forms (not WFFM forms) functionality. And I need to show a success alert message on successful submission of the form. But here's the catch, The success ...
user avatar
  • 33
0 votes
1 answer
85 views

Map Form field to contact details

I have gone through the doc. https://doc.sitecore.com/developers/93/sitecore-experience-manager/en/walkthrough--creating-a-custom-submit-action-that-updates-contact-details.html In the section "...
user avatar
0 votes
0 answers
106 views

Sitecore form submit code is not getting triggered in visual studio

I'm getting user name and mail id through sitecore form. on clicking submit the sitecore form submit action has to get triggered. In turn the following code has to get triggered. But the debug point ...
user avatar
0 votes
0 answers
41 views

Can a Sitecore Form be hardcoded in a JSS React component?

I have a React component that I want to embed a Sitecore form into: const ContactForm = ({ title, text, route, fields, history }) => { return ( <StyledContactForm id="contact-form&...
user avatar
0 votes
1 answer
84 views

How to Update Form submission Information in sitecore 9?

User Submit the Form data, insert those values by default in to "[ExperienceForms].[sitecore_forms_storage].[FieldData]" Table. how can we edit using API or Power Shell script?
user avatar
0 votes
1 answer
51 views

How to find what forms are using a Save Action

We are re-doing some backend logic for a save action we created and I need to find all forms that use this one save action. How can I easily do that? I didn't see a way in Admin interface and I don't ...
user avatar
  • 101
1 vote
1 answer
68 views

Is Donut caching in SXA with Forms supported?

I have come across an issue where if I configure a form on a page. How renderings are nested: Column Splitter (main) Container (/main/container-9/column-2-7) Sitecore Form Wrapper (/main/container-9/...
user avatar
  • 4,735
1 vote
0 answers
137 views

Sitecore Forms not loading on first load

We have created Polls for our application using Sitecore forms. The rendering we have created to load the poll have set of personalization rules. On first load, form is not loading. Instead it throws ...
user avatar
  • 53
0 votes
0 answers
82 views

Update Workflow of a Sitecore form Item

In sitecore I have created a Sitecore form in Sitecore FormBuilder and saved it as template. I have added default Workflow in Form Template standard value. I have published this Form saved as template ...
user avatar
  • 395
2 votes
1 answer
122 views

How do I add an Anti Forgery Token and a CDN

Using Sitecore 9.3... We are using a CDN to fully cache the entire HTML of the page. This is causing a problem with Experience Forms and the AntiForgeryToken. The value of the token gets cached. Then ...
user avatar
1 vote
1 answer
18 views

Mvc.DefaultFormControllerName - What does this setting do?

Using sitecore 9.3... Im looking to override the Sitecore Experience Forms controller. I saw this setting (Mvc.DefaultFormControllerName) and was thinking I could just replace the value of this ...
user avatar
0 votes
0 answers
209 views

Sitecore Forms Field tracking controller issue

When we tried to submit the form, we are getting NullReferenceException in FieldTrackingController. Its not even hitting our server side custom submit action. We did rebuild link database and indexing....
user avatar
  • 53
1 vote
1 answer
51 views

Hide Sitecore Form fields if user is authenticated

Environment: Sitecore 9.2 & SXA 1.9 Scenario: I have created a Sitecore form, which consists of three fields and a submit button. Now I would like to hide one of the fields if the user is ...
user avatar
  • 543
0 votes
1 answer
105 views

Sitecore Forms not taking Page design in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 and I have created a form using Sitecore Forms and attached that form to a page through CMS and for the page I have assigned my Page design to it but it is not ...
user avatar
  • 181
1 vote
1 answer
186 views

Sitecore Forms access to Form response

Is there a way to programmatically access the submitted forms response of the user? Scenario: User A submits a Sitecore Form and is redirected to a page where he can see all his answers to the form.
user avatar
1 vote
1 answer
293 views

How to display the custom error message for the fields in Sitecore Form for Chinese language

I am using Sitecore 9.0.1 and I have created a Sitecore Form (not WFFM). I want to add a custom error messages to the fields. Below are the steps which I followed to add error message for Email: 1....
user avatar
  • 181

1
2 3 4 5
7