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
7 votes
2 answers
3k views

Creating custom data attribute for Sitecore form fields

How to implement html data attribute for Sitecore forms? For example in the styling section, I would like to add custom input for data attribute. Any help is much appreciated.
Naga Dinesh's user avatar
3 votes
3 answers
3k views

Sitecore 9 forms redirecting to formbuilder link on submit

I am having an issue when submitting a form when there is no redirect. Basically i have a contact us form and eventually will implement a email action. But every time i click the submit button even ...
jsPlayer's user avatar
  • 203
3 votes
1 answer
1k views

403 Forbidden when saving form

I followed the steps in the main Sitecore site to try and make a form using Sitecore 9, here https://doc.sitecore.net/sitecore_experience_platform/90/digital_marketing/sitecore_forms/creating_forms/...
Mie ElMansy's user avatar
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
1 answer
2k views

Sitecore 9.1 Forms conditional logic not working as expected

I'm using Sitecore 9.1 forms. I have a drop down and couple of sections of the form. Based on drop down value, i want to show/hide the sections. Below is my form and the conditions. When i select ...
Madhu Anbalagan's user avatar
2 votes
1 answer
2k views

How to add rich text to Sitecore Forms?

I'm using Sitecore 9, which has Sitecore Forms built-in out of the box. In the "Form Elements" tools panel on the right, there's a list of elements you can use to build the form. For example: Text, ...
Justin's user avatar
  • 311
2 votes
1 answer
1k views

Export form data not working

I am working on Sitecore 9.0.2 with Sitecore 9 Forms. When I am trying to export the form data, it shows me that "The list is being exported" but I get nothing. Below is the screenshot for reference:-...
SumitK's user avatar
  • 751
27 votes
9 answers
10k views

No forms are displaying in Sitecore 9 Forms area

Let me start by saying that I have had this happen before and typically I have only had to reindex the Master index. However, nothing is working to display the 15 forms that we have created. I have ...
Toby Gutierrez's user avatar
13 votes
4 answers
4k views

Why I can't see my forms/templates in the Sitecore Forms application?

I have created some forms and templates in the Sitecore Forms application, but I can't see them being listed in the grid of the Sitecore Forms main page. It only displays the message "There are no ...
João Neto's user avatar
  • 2,051
10 votes
4 answers
3k views

Sitecore Forms are not appearing in Sitecore Forms interface

I know that there are lot of question have been asked on this topic but my concern is that after following all the available options Forms are still not appearing on Form interface. However I can see ...
SumitK's user avatar
  • 751
3 votes
2 answers
1k views

Get all the Sitecore Form's saved data in code

I have a request that I need to use Sitecron to compile the form's data into single CSV file. How can I get access to all the form's saved data in code behind (not WFFM)? I'm using Sitecore 9.1
Thanh Nguyen's user avatar
2 votes
1 answer
1k views

Sitecore Forms Save submit action null FormDataModel

I am trying to create a form with Sitecore Forms on 9.3. No matter what I do with the save action I get the following error: [NullReferenceException: Object reference not set to an instance of an ...
Ethan Schofer's user avatar
0 votes
2 answers
2k views

Adding Form with anchor tag in Checkbox label

I need to add a Consent check box with some label content. Example label content: By checking this box you are consenting abc abc in our <a href="https://www.abc.com/privacy-policy">Privacy ...
Hussain's user avatar
  • 482
11 votes
2 answers
2k views

Sitecore Forms email field validation message is showing in English instead of Korean language

I created a Sitecore Form in Korean language (ko-Kr) version. For an Email field on this form, we used Email Validator and updated the error message on this path /sitecore/system/Settings/Forms/...
PKH's user avatar
  • 465
6 votes
3 answers
2k views

Migrating WFFM to Sitecore 9 Forms Module

We are currently on Sitecore 7.5, using Mongo for xDB and also using WFFM Module. Planning for an upgrade to Sitecore 9 soon. Where the Sitecore Forms Module looks promising and apart from few ...
Amitabh Vyas's user avatar
  • 2,554
6 votes
2 answers
2k views

jQuery not defined error on sitecore 9.1.1 forms submission

We recently upgraded from Sitecore 9.1.0 to 9.1.1 and now our forms fail when there is validation required. The page reloads with this querystring: /formbuilder?fxb.FormItemId=b0a35bf4-8b82-466d-...
Jen's user avatar
  • 1,393
5 votes
1 answer
4k views

How to show success message in Sitecore 9 Forms?

While implementing a custom Sitecore 9 Form (not WFFM forms), I need to show success message. E.g. When I have filled all the data and clicked submit action button, I want to show success message ...
PKH's user avatar
  • 465
4 votes
1 answer
3k views

JSS + Sitecore Forms: "unable to verify the first certificate"

New to JSS. Trying to use Sitecore Forms + JSS for the first time, I followed JSS documentation, creating a form in Sitecore; when I run jss deploy component Form --allowedplaceholders jss-main, I get ...
T Lementz's user avatar
4 votes
1 answer
3k views

@Html.RenderFormScripts() and @Html.RenderFormStyles() do nothing

We're using Sitecore Forms and allowing the user to add existing forms via a placeholder inside of a component. We have added the form in the placeholder and it renders as expected. Now we want to ...
Marcel Gruber's user avatar
4 votes
1 answer
2k views

Changing the datasource for a dropdown list field in a form on a page

According to the docs, you can add items to a list field in forms either as a static set of values, or a dynamic datasource. However, I need to create a field that can switch the datasource on the fly,...
SelAromDotNet's user avatar
3 votes
1 answer
4k views

How to change the required field validation message for Sitecore 9 Forms

I am using Sitecore 9 Forms with a default mandatory (required field) validation. While submitting the form it is showing some validation message. Is it possible alter that message?
PKH's user avatar
  • 465
3 votes
1 answer
2k views

Execute JavaScript on successful Form Submission

I need to execute custom JavaScript code on a successful form submit. Are there any events that can be attached to? Using Sitecore 9.0.2 with Forms Extensions.
Mark Lowe's user avatar
  • 1,036
2 votes
3 answers
4k views

Sitecore Forms on Submit: Cannot read property 'unobtrusive' of undefined

When submitting a Sitecore Forms form, we get the following Javascript exception in our console: Uncaught TypeError: Cannot read property 'unobtrusive' of undefined at HTMLFormElement.eval (eval at ...
Mark Lowe's user avatar
  • 1,036
2 votes
1 answer
1k 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 ...
Mark Gibbons's user avatar
  • 5,522
1 vote
1 answer
857 views

Sitecore Form Scripts aren't being Loaded after Form Submission

So, before submitting a form, my web page loaded all the form-related scripts completely. However, after the form is submitted, the page went blank and only displaying the form element, and it got ...
Alen's user avatar
  • 11
1 vote
1 answer
445 views

Dropdown with more than 2 fields

Sitecore: 9.3 What I am trying to do: In Sitecore Forms, I was trying to add a new data type under List section. In the present implementation, we have a data type DropDownList, where we can map key ...
NutsAndBolts's user avatar
  • 1,330
1 vote
1 answer
131 views

Regex not working in Sitecore Forms

In Sitecore 10 forms, I am trying a very simple regex {"regularExpression":"^(?:\+[0-9]{9,}|[0-9]{10,})$"} This regular expression matches strings that either start with a plus ...
Owais Ahmed's user avatar
1 vote
2 answers
77 views

Toggling with mandatory field in Sitecore forms

I have custom requirement on the sitecore forms as below. Building a form with multiple pages and for instance a field in page 4 has to be mandatory based on the dropdown selected on page 1. So ...
Mamtha's user avatar
  • 65
1 vote
0 answers
165 views

Fetching Contact from EXM Query String returns null or empty

I'm trying to get information from the contact in code behind the rendering I placed in the EXM message. I currently have a Sitecore form that has only one field, an email field. When submitted it ...
qwert's user avatar
  • 389
1 vote
0 answers
210 views

Sitecore 9 forms giving error when click form launchpad icon

When we click on Forms icon from Launchpad in Sitecore 9, we are getting the error below: The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this ...
Shrikant Deshmukh's user avatar
1 vote
1 answer
4k views

An item with the same key has already been added

I am working with Sitecore Forms. The forms submit without any error while previewing within experience editor for both Master and Web databases. But, when I check in a Content-Delivery (CD) URL ...
Paulson Maclean's user avatar
1 vote
2 answers
2k views

How to add Conditional field in sitecore 9 Form?

My clients requirement is like need to add a custom field to sitecore 9 which enables the conditional rendering as if someone selects yes then show this or if no then show that. How we can achieve ...
vinay kumar singh's user avatar
1 vote
0 answers
719 views

Sitecore 9 Forms - SimpleInjector conflicting with FormBuilderController

Sitecore 9.0.1 (rev. 171219) SimpleInjector v.4.3.0 Glass.Mapper v.4.5.0.4 Steps To Reproduce: In the Sitecore dashboard I click on the Forms button Click the Create button and select Blank Form On ...
melvin's user avatar
  • 11
1 vote
2 answers
599 views

Sitecore 9 Forms Custom Submit Model called twice

I've implemented a Sitecore 9 Forms Custom Submit Model referring to this article: https://www.codinglittlethings.com/2019/10/sitecore-9-forms-google-recaptcha-field.html The only difference is, I ...
SitecoreSXADeveloper's user avatar
1 vote
1 answer
659 views

SXA destroys the window context used by the conditional logic of forms

In addition to the question "Forms with conditional logic don't work" we encountered a problem. Moving the form's scripts into the header solves the problem of conditional logic only for the first ...
Uwe Eichkorn's user avatar
1 vote
1 answer
499 views

The form was not loaded due to an error. 401 403 unauthorized

Using custom roles setup to lockdown access. Gave access rights to the Forms folder and the app menu for the launchpad. However I receive the error on the GUI after clicking one of the forms to open ...
goamn's user avatar
  • 215
1 vote
2 answers
957 views

Forms with conditional logic don't work

In our SXA environment we created a form with conditional logic. Depending on the selection in a list of radio buttons, only certain form sections should be visible in the form. At first, we got an "...
Uwe Eichkorn's user avatar
1 vote
1 answer
326 views

Sitecore 9 Forms Creation

Is there any way for creating a simple form in Sitecore through dynamically using code so that it appears in the Sitecore Forms UI? Any suggestion appreciated.
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
0 votes
1 answer
226 views

Sitecore 9.2 Forms - "There are no actions to display"

I'm using Sitecore Forms. With a Fresh install of Sitecore 9.2 and I don't see any submit actions. As far as I have read, it should come with 5 different standard presets. Any idea what I'm missing ...
Tobias Heide's user avatar
0 votes
1 answer
579 views

Exception when opening the Sitecore 9 Forms application [closed]

I get a yellow-screen-of-death after clicking the Forms application icon from the launchpad: The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this ...
BU0's user avatar
  • 103
0 votes
1 answer
1k views

How to create cascading droplist for Sitecore Form

I have a requirement to create a cascading dropdown for country and state.When a country is selected the states are populated automatically. How to accomplish the same for Sitecore Form?
Debaparna's user avatar
  • 497
0 votes
1 answer
153 views

Tag Action and Register a Goal conversion from wffm to Sitecore forms

I am migrating wffm forms to sitecore forms and i see Tag Action and Register a Goal Submit Action for each wffm. I need to implement the same in sitecore forms. Any way of achieving it in sitecore ...
Rahul's user avatar
  • 1