Skip to main content

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
1 vote
1 answer
64 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 ...
1 vote
1 answer
44 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.
1 vote
0 answers
44 views

Form email randomly not sending Sitecore 9.3

Recently a user noted that a form was randomly not sending emails. Out of the last 22 submissions, they received 20. Form data is being saved to Sitecore db SMTP logs have no issues on the Sitecore ...
1 vote
2 answers
38 views

Translate Sitecore Form Date Min and Max date Validation message in Spanish

I used Sitecore form date control and specified min and max dates. when trying to enter a date more than the max value get the below validation message : "Please enter a value less than or equal ...
0 votes
2 answers
472 views

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

We are using Sitecore 10.2, and we have Sitecore form with custom Submit action 'Validate on submit' when this is valid I redirect the form to success page and when this validation fails we want to ...
1 vote
1 answer
108 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 ...
1 vote
1 answer
63 views

Sitecore Form Dropdown List Stripped Comma From ListItem Label

I was trying to add static List Items for a Dropdown list field in Sitecore Form, the label contains a comma, after clicking the Apply button I can see the value still stays as shown here: I can also ...
1 vote
2 answers
358 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 ...
1 vote
1 answer
177 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?
0 votes
2 answers
65 views

Google Recaptcha Styling in Sitecore Form

I am quite new to styling and CSS. On my page, Google recaptcha is going out of the form. I want to hide the blue area and only show the white portion of recaptcha on the form. When anyone hovers over ...
1 vote
1 answer
208 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 ...
2 votes
2 answers
470 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 ...
5 votes
3 answers
955 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 ...
0 votes
3 answers
398 views

Conditional Sitecore Form

There are many documents on Sitecore Form's Fields condition or adding or showing or hide Form fields based on condition. I have a multipage Sitecore Form and i want to make the pages conditional,e.g ...
1 vote
1 answer
436 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 ...
0 votes
1 answer
69 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--...
1 vote
1 answer
189 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 ...
1 vote
2 answers
777 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 ...
0 votes
1 answer
153 views

Sitecore Forms - Using ItemTreeView in Form Elements Pane

I have built a custom Sitecore Form field which generates a download URL for media. It works fine using a TextBox in the Form Elements Pane to enter the GUID for a media item. However to make this ...
0 votes
1 answer
708 views

Sitecore forms custom field override validation error message

I have added a RichtextCheckbox custom field in Sitecore forms. I have added validation and it's working fine. This is the razor code <label class="@Model.LabelCssClass"> <...
0 votes
0 answers
27 views

An error occured on Saving/Creating Sitecore Form

Creating a new Sitecore Form with OOTB field Single-line-text, on saving getting Red alert with message An error Occurred. In the console getting details "{"message":"The ...
1 vote
2 answers
95 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 ...
3 votes
2 answers
105 views

How to migrate Sitecore forms to XM Cloud?

We have Sitecore forms in Sitecore 9.3 application. Now client wants to migrate application from SC 9.3 to XM Cloud. As Sitecore forms is not available in XM Cloud and not compatible with XM Cloud ...
0 votes
1 answer
581 views

Display Forms success message in popup after Web Api Success Call

I am working in Sitecore/SXA 9.3. I created a form with Sitecore Forms with a custom Submit Action and I'm able to hit Web Api in my C# code with the use of the SubmitActionBase base class and return ...
1 vote
2 answers
63 views

Sitecore Form is not working on my local instance, Sitecore version 10.2

I have a task to implement sitecore forms out of the box, and when I try to open the forms from the Desktop, it gives me the following error, any solutions? and the following text is a message from ...
1 vote
0 answers
51 views

Sitecore 10 ExperienceForms on Form Submit not inserting data into Database

I have built a Sitecore 10.1 form with multi page level which includes upload file and google captcha. On submit Button I have attached the following action (Save Data, Send Email with Attachment, ...
0 votes
0 answers
46 views

How to Build a Custom Dropdown List Field That Retrieves the list from a Sitecore Bucket?

I am working on a Sitecore project and need to create a custom dropdown list field for Sitecore Forms that retrieves its options from an item bucket in Sitecore. Specifically, I want to populate the ...
1 vote
1 answer
192 views

ReCAPTCHA token is null on server side for invisible reCAPTCHA version 2

I'm trying to add the recaptcha invisible version 2 to the Sitecore form. I created the invisible recaptcha custom form element with the custom recaptcha validation I follow this article to add a new ...
2 votes
1 answer
247 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 ...
4 votes
1 answer
424 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 ...
2 votes
2 answers
81 views

Internal Link Not getting resolved in Cutsom RTE field Sitecore Form

I have custom RTE field in Sitecore form where I have used TextViewModel and the custom view below: @model Sitecore.ExperienceForms.Mvc.Models.Fields.TextViewModel <@Model.HtmlTag data-sc-field-...
1 vote
0 answers
24 views

Unable to Send FileUploadUrl in Email While using out of the box fileupload control in sitecore forms(sitecore 10.3.1)

I am using out of the box File Upload Control. While exporting the form data I receive all the fields with a file upload URL which will download the file. I am trying to send these details over email. ...
0 votes
3 answers
52 views

Create Anchor Tag on Sitecore Form Submit Button

I need to create anchor tag on Sitecore Form Submit Button that will have mailto added. How to achieve this.
2 votes
1 answer
103 views

Getting error anti-forgery cookie "__RequestVerificationToken" is not present in Sitecore Forms when Sitecore hosted on Azure FrontDoor

We are working on Azure PaaS environment for Sitecore XP 10.3. We are encountering one of the issue while submitting Sitecore forms. The required anti-forgery cookie "__RequestVerificationToken&...
0 votes
1 answer
780 views

Sitecore forms with Sitecore jss(Angular app)

I am trying to use sitecore forms with Jss angular app, I find this on github and trying to use it in my app https://github.com/bic742/sitecore-jss-angular-forms the form is rendered successfull. but ...
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 ...
1 vote
2 answers
908 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/) ...
1 vote
2 answers
613 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 ...
0 votes
2 answers
264 views

Select all checkbox if Parent Checkbox is checked Sitecore Forms

I have Sitecore Form with 5 Checkbox. First with label All and other 4 with category. I need to enable all 4 if User select All Checkbox. How to handle this scenario.
6 votes
1 answer
274 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?
1 vote
2 answers
960 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 ...
0 votes
1 answer
161 views

Sitecore Forms script are not loading intermittenly

We have Sitecore forms added in one of page and we have referenced the RenderFormsScript method. Intermittently script are not loaded in to our pages. Is there way to find the root cause?
0 votes
1 answer
140 views

Unable to Export Sitecore Form Data, throwing 401 unauthorized

Export Form Data requests are failed with below message. https://abc.com/renew/api/ExportFormData/ExportToExcel?formId=%7BDDEB5360-F0BA-4BD2-B73C-424A61B9B20B%7D&isDateRange=false&token=...
0 votes
3 answers
92 views

Sitecore forms js scripts caching issue

Recently we came across an issue where the new changes made in a js file used in the Sitecore Forms were not reflecting. We fixed it temporarily purging the CDN cache. However, we are looking for a ...
0 votes
1 answer
170 views

Forms with list-type fields are not being submitted

Have you guys experienced a scenario wherein you have forms with list-type fields (e.g. dropdown, checkbox list, etc) that returns "field is required" when you submit it? The form was able ...
1 vote
2 answers
510 views

Dependent dropdown in sitecore forms

I have a requirement in creating a dependent dropdown list in Sitecore 9 forms. For example one is state and other is country. How to accomplish this?
0 votes
1 answer
215 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 "...
1 vote
1 answer
41 views

Send EXM Automated Message Version based on Language selected by user in website

I am using Sitecore 10.3 and working with EXM automated message with "send email campaign message" action in Sitecore forms. I want to receive the message in the language that the user ...
0 votes
1 answer
240 views

Set current date in Sitecore form datepicker

Has anyone able to set the current date in Sitecore form 10.1 date picker? Just like WFFM, we used the following script to set the current date. @Html.RenderScriptBlock( @<script type="...
2 votes
1 answer
52 views

Sitecore Forms 9.2 compatibility with Webforms

I am in process of migrating existing Sitecore 8.2 application to 9.2 The entire application is based on Webforms and there is no MVC used. There are few WFFM forms which I need to migrate/rewrite in ...

1
2 3 4 5
10