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.

140 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
0 answers
539 views

Submit actions disappeared from Sitecore 9 forms editor

My team is experiencing an issue with Submit Actions in the Sitecore 9.0.1 Form Editor. When trying to edit existing submit actions, the edit button is disabled. And when trying to add a new one the "+...
schne489's user avatar
6 votes
1 answer
258 views

Does Sitecore Forms meet the standards from WCAG 2.1

Do the Sitecore 9 forms meet the standards from WCAG 2.1? I've read that they meet the 2.0 but couldn't find anything around 2.1. Any documentation that I could have a look?
Snapper's user avatar
  • 373
5 votes
2 answers
873 views

What would cause a Sitecore Form to duplicate submit?

I have created a custom submit based on the below module: https://www.nishtechinc.com/Blog/2018/April/Send-E-mail-Action-to-Sitecore-9-Forms It went all hunky dory on my dev machine but when moved to ...
Shaun121's user avatar
4 votes
1 answer
412 views

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

I have a pdf file of the type byte array. Using Sitecore form custom submit action, I need to download/open the same as pdf in the user's machine. I tried to achieve the same by adding response ...
iMathi's user avatar
  • 61
3 votes
2 answers
102 views

How to refresh Sitecore Form without page Load

We are trying to load a sitecore Form on Modal. On submit, Form goes from "Page1" to a "Page2" using "go to" action on submit button condition. On Closing of the modal, ...
Sylesh JL's user avatar
  • 167
3 votes
2 answers
166 views

How to set value in the quick info of an item in sitecore

i want to set field of Created From for an item in sitecore which appeared in the quick info section , how can i do that via sitecore or using powershell script?
Sara's user avatar
  • 81
3 votes
1 answer
559 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 ...
Adam Seabridge's user avatar
3 votes
0 answers
125 views

Change css style field from single-line text to droplist

I'm currently recreating our forms in Sitecore 9.3 Forms and am trying to change the field style input from single line text to a droplist that points to a folder containing style items. WFFM used to ...
ventenni's user avatar
3 votes
2 answers
1k views

Multiple Sitecore 9 Forms can cause AntiForgery token validation errors

On a customer site, we have implemented multiple Sitecore 9 Forms on the same page. One of these forms is used to sign-in to the website. When customers submit the sign-in form, the other forms seem ...
dthrasher's user avatar
  • 273
2 votes
1 answer
96 views

Forms and datalayer.push when successfully going to the next page or getting submitted

I need to make a dataLayer.push({my_arguments_here}) whenever a form successfully goes to the next page/gets submitted. I know that some validation is happening on back-end, so I'm trying to find a JS ...
Linas's user avatar
  • 78
2 votes
0 answers
49 views

Sitecore Forms onclick of back button clearing data

I have a country field in Sitecore Forms which gets data populated from AJAX call on page load. When I enter all the values in the form and navigation to next page all the fields looks fine. I am ...
Mamtha's user avatar
  • 65
2 votes
1 answer
125 views

Sitecore JSS Rendering issue on server bundle with experience editor

I'm having an issue with Sitecore JSS, where I'm upgrading from Vue 2 to Vue 3. After clicking on the specific form builder, this is the error that I receive: I can't seem to find the token it's ...
Pongramer's user avatar
2 votes
2 answers
422 views

Sitecore forms required validation is not working for dropdownlist

We have upgraded to Sitecore 10.1 from Sitecore 8.7. In Sitecore forms, dropdownlist required validation is not working. The required validation is working for all simple type fields but not for ...
Owais Ahmed's user avatar
2 votes
0 answers
284 views

Creating rich text element for Sitecore Forms

I have created a new component for the Sitecore Forms called "Rich Text", with the aim to have "Rich Text" capabilities while working with forms. Everything works as expected. Apart from one thing, ...
Ed T.'s user avatar
  • 181
2 votes
0 answers
107 views

Custom File upload Exception on CD server only "HttpPostedFileBase" is not marked as serializable

Getting the below exception when submitting a Sitecore Experience Form on the CD server. The form had the File Upload field which is Custom build. A code snippet is also posted below.
paramjeet's user avatar
2 votes
0 answers
162 views

Is it possible to add custom button/s in Sitecore Forms v9.1?

Sitecore 9.1 with a Sitecore forms(v 9.1) We have a requirement to add buttons (like Google Drive or Dropbox) to the Forms which will work similarly to the File Upload element available in the OOTB ...
Ruchi Yevle's user avatar
2 votes
0 answers
186 views

Sitecore custom list form element null reference

I am trying to create a custom List form element to display data that I am getting from a WCF service. I am using Sitecore 9.0.2 with Sitecore Experience Platform. Following is the code for the ...
shubhkr1's user avatar
2 votes
0 answers
190 views

Custom Sitecore 9 form field is not getting replaced by value when used as a token in the mail using exm

When my page loads with a form, the query string contains a GUID of a property detail item. I want the URL of this property in the mail that triggers on submit button click of the form. I created a ...
Niti Chauhan's user avatar
2 votes
0 answers
276 views

Allowing /clientevent/process url

/clientevent/process currently throws Object reference not set exception with the stacktrace as shown below. Is there any configuration like IgnoreUrlPrefixes that need to be configured to throw a ...
Bharath's user avatar
  • 133
2 votes
1 answer
995 views

Is it possible to reload/reset a Sitecore Form without refreshing the entire page?

I'm in the process of building a number of forms using Sitecore Forms in Sitecore 9.0. All of the forms will be displayed in a modal dialogue, and all forms will show a thank you message, using the ...
jwsadler's user avatar
  • 171
1 vote
1 answer
51 views

Custom hidden field for Sitecore Forms isn't maintaining value on submit

I have a custom hidden field. The model uses a rendering parameter on the page to set the value of the hidden field, and the same form is used on multiple pages which is why I'm using a rendering ...
Erica Stockwell-Alpert's user avatar
1 vote
1 answer
37 views

Sitecore Form Number Field with plus and minus icon

I need Sitecore Form Number Field with plus and minus icon that will increment and decrement entered value. How to get this kind of field. Any OOTB filed can be used with some minor updates.
Archit's user avatar
  • 11
1 vote
0 answers
41 views

Sitecore XP 10.3.1, Sitecore Headless Services Server XP 21.0.587, International phone number Form field (intlTelInput)

I want to create a International phone number field that allows user to select the country code and then enter the number. Country selection is a dropdown with Country flag, country code, and an arrow ...
Parshant's user avatar
1 vote
1 answer
151 views

Sitecore Forms upload fileType Validation

We are working on sitecore 10.3 XM. We want to apply a validation in the file upload field so that it takes only the .pdf extension files with size less than 2MB. I was trying to implement the ...
Harshit Gupta's user avatar
1 vote
1 answer
144 views

Sitecore Forms with NextJs and Hybrid SSG + SSR rendering

I am new to Sitecore JSS and am trying to the implement Sitecore Forms using the hybrid rendering approach [SSR+SSG] in a Sitecore 10.2 with NextJs app. Some selected paths would be SSR rendered and ...
Debasis Mishra's user avatar
1 vote
1 answer
110 views

Sitecore form section does not show "form-section" and "row" div when "Section" field is added on the Form

We are using sitecore forms with Sitecore 9.3 and facing the below issue on one of the lower environments. When we add "Section", the below div structure generates <div class="form-...
D J's user avatar
  • 385
1 vote
2 answers
248 views

Disable Form Submit button if Password and confirm password field not filled

I am trying to disable submit button if 2 fields i.e Password and Confirm Password are not filled. However when I am trying to add condition I see Password fields are disabled and I cannot select them ...
Aditya's user avatar
  • 11
1 vote
0 answers
117 views

JSS Sitecore Form Button Submission Failed With Anti-Forgery Cookie Issue

JSS NextJS Form Component import { Form } from '@sitecore-jss/sitecore-jss-react-forms'; import React from 'react'; import { NextRouter, withRouter } from 'next/router'; import { sitecoreApiKey } from ...
Krithvik TRS's user avatar
1 vote
2 answers
679 views

Customize Required field Validation message for Sitecore Forms

I need to customize required field validation message in sitecore forms. I have tried creating new dictionary and updating value there, but it updates message for every forms. My requirement is to ...
GiriKumar's user avatar
1 vote
0 answers
56 views

How to Implement EXM Custom Unsubscribe from Email Campaign

Will redirect to the same link Unsubscribe.aspx, wanna add some functionality when the user clicks Unsubscribe or UnsubscribeFromAll. I created a Class inherited from IClientApiService and add Config ...
sahar Nofal's user avatar
1 vote
2 answers
81 views

Configure Sitecore Forms to use different environment connection string in Sitecore 9.3

How to add configure Sitecore Forms in development environment to use different environment connection string to debug the stage environment issue. I have modified ConnectionString.config file and ...
Kumari Dimple's user avatar
1 vote
1 answer
234 views

Sitecore Next.js Sitecore Forms Validation

I faced several issues getting the validation running with Sitecore Forms in combination with Next.js. Issue 1: backend validation is not executed Issue 2: backend validation was not showing up as ...
netbird's user avatar
  • 11
1 vote
0 answers
405 views

Sitecore 10.2 Forms Send Email action not sending email

Using Sitecore 10.2 with no EXM license. I have configured MailServer settings in sitecore.config and verified that it works by testing with the reset/forgot password link. For SMTP I am using ...
Michael's user avatar
  • 57
1 vote
1 answer
201 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 ...
Joe Dearsley's user avatar
1 vote
1 answer
158 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?
user7749's user avatar
1 vote
0 answers
312 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 ...
Thamizh's user avatar
  • 187
1 vote
0 answers
521 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....
Thamizh's user avatar
  • 187
1 vote
1 answer
341 views

Can I use Sitecore Forms without jQuery?

Can I use Sitecore Forms without JQuery? I mean, I can see how to make it so JQuery wont output on the page, but will it still work? I see that I will need to make my own validation. Anything other ...
Ethan Schofer's user avatar
1 vote
0 answers
289 views

Sitecore Forms - Resume Multi-Page Form

We're looking to create a Sitecore Form for invitees only (via a unique URL). As there are around 60 questions to answer, we'd like to split this across multiple pages. We also have the requirement to ...
Benj Bayfield's user avatar
1 vote
2 answers
842 views

Sitecore form's custom field not saving in database

I have created a custom field "RichtextCheckbox" in Sitecore forms after following this tutorial (https://pushpaganan.home.blog/2020/02/06/adding-a-custom-rich-text-field-to-sitecore-forms/) ...
user avatar
1 vote
2 answers
588 views

Assigning value to a custom field in Sitecore forms

I have created a custom hidden field. I want to assign a value to the hidden field I need to assign value from the Text field. public class HiddenField : FieldViewModel { public string ...
user avatar
1 vote
1 answer
97 views

Sitecore Form Module Security Editor

In the sitecore\Forms Editor role access is provided as below: This security works fine in Content Editor, that is: It allows to create or edit items only in the English language but not in other ...
Debaparna's user avatar
  • 497
1 vote
0 answers
168 views

Sitecore Forms and validation scripts

I am trying to add a very basic form with required field validation, but upon submission of the form, getting following error. This happens only when 'RenderFormScrips()' are added (as highlighed in ...
kiran's user avatar
  • 71
1 vote
0 answers
179 views

"Required if" still want to stop SitecoreForms validation if field is hide/display:none in 9.0

I want if the field is visible/display: block then only validation works else if the field is hide/display:none then validation should stop working. I hide/show fields with jquery on any click and ...
Udit's user avatar
  • 21
1 vote
1 answer
115 views

Get Experience Forms Response Statistics using API

In a Sitecore Form for example if I have list of questions with list of radio button answers. Does Sitecore have an API to return the statistics of how many users choose this answer? I'm using ...
Fatema elsayed's user avatar
1 vote
0 answers
27 views

Using a plugin on a field which is the basis of a condition

I am using the Selectric plugin on my project and I seem to be having an issue with fields which are the basis of a condition. I will try to explain this as best I can. As an example I have this "...
Ben Davies's user avatar
1 vote
1 answer
431 views

File Upload field not saving the data in ExperienceForms database using Save Data Submit action

I have installed the SITECORE FORMS EXTENSIONS(9.0). Now, when I'm using the File upload field and trying to save the data in the ExperienceForms database using the Save Data Submit action, it does ...
Udit's user avatar
  • 21
1 vote
2 answers
734 views

Sitecore Form default CSS and JS not loading

I have a Sitecore Form that is working fine on one SXA site. However, if try to use the same form on another site then on the click of submit button, it's redirecting to the Formbuilder page. Also, I ...
kuldeep's user avatar
  • 11
1 vote
0 answers
179 views

Getting Rendering Parameter Values from inside a Custom Submit Action

I am trying to get the Rendering Parameters from my form, inside a Custom Submit Action I have created. var parameters = RenderingContext.CurrentOrNull; is always returning null. How can I get to the ...
Umang's user avatar
  • 11
1 vote
0 answers
285 views

Add Sitecore Form Fields with Javascript

Is it possible to add a sitecore form field to a form with javascript and if so, how should I approach it?
Nick's user avatar
  • 21