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
0 votes
0 answers
20 views

FIlter Sitecore Form Dropdown Value based on other dropdown [duplicate]

I have custom drop-down fields that read data from API's. I have lot of records in 1 dropdown around 30k. SO i need to filter dropdown value based on value selected in first dropdown. How to handle ...
mark's user avatar
  • 1
0 votes
0 answers
47 views

How to add parameter to custom form submit action

I'm new to sitecore development so am possibly missing some basic concepts, but using sitecore 9.11 I've managed to create a custom form submit action, that sends an email with the form values so a ...
Cliff B's user avatar
2 votes
0 answers
35 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
0 votes
1 answer
33 views

Custom Submit Action Not Getting Called [closed]

Sitecore Version - 9.3 I have created a custom submit action but it is not working. It is not even getting called when I hit with debugger. Submit Action Code - using Sitecore; using Sitecore.Data; ...
NewbieHere's user avatar
0 votes
1 answer
37 views

Can I send an automated email campaign from EXM upon form submission that is not in Sitecore

I'd like to create an automated email campaign in EXM. I'd like this campaign to be triggered when a form is submitted. This form is not a Sitecore Form, it is not placed in a Sitecore website. Is ...
BasantA's user avatar
  • 41
1 vote
1 answer
84 views

Sitecore form submissions are inconsistent

We are using Sitecore 10.1.3 on Managed Cloud. The website has a Sitecore form with two Submit Actions - Call_API & Show_Success_Page. The Call_API action calls our applications custom back-end ...
sukesh's user avatar
  • 3,033
0 votes
1 answer
21 views

Can I use Dynamics 365 for Sitecore Connector to send data from Sitecore Form directly to Dynamics 365?

I would like to use Sitecore Forms to collect data from my Sitecore website, then send that data directly to Dynamics 365 - using the Connector that is available from Sitecore. I have looked for ...
Dean OBrien's user avatar
  • 1,358
2 votes
1 answer
63 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
0 votes
1 answer
61 views

Theme is not switched when overriding DoGetThemeItem

I am implementing this article so I can switch themes based on the a cookie or query string. My code is as follows. protected override Item DoGetThemeItem(Item item, DeviceItem device) { ...
William's user avatar
  • 103
0 votes
0 answers
32 views

we have requirement to block the free emails from submitting the sitecore-forms Is there any way to block the free emails(gmail,yahoo,...)? [duplicate]

We are using Sitecore 10.3 XM and Sitecore forms and we have a requirement to block the free emails to fill the forms. I tried implementing the default email validation by changing its regExp in the ...
Harshit Gupta's user avatar
0 votes
1 answer
49 views

Is there any possible way to use Custom GoogleRecaptcha Field in Sitecoreheadless10.3XM

I am using sitecore 10.3XM SXA with HeadlessNextJs also we are using sitecore forms. We have a requirement to implement Google Recaptcha in our Forms.So We have created a Custom Google Recaptcha Field ...
Harshit Gupta's user avatar
0 votes
0 answers
15 views

Set toUrlEncodedFormData in submitForm jss sitecore forms

I'm trying to set the content type request of the formdata but it doesn't seem to work. async onFormSubmit(e) { e.preventDefault(); try { .... const formData = ...
Bryan Ribo's user avatar
1 vote
1 answer
39 views

Sitecore Forms - Possibility of reading MVC FORM Rendering parameter in Custom Submit Action

I have one Sitecore Form to be used across multiple sites for which I want to configure respective thankyou pages (route might be different for individual site) at rendering parameter. So Is there a ...
Kumari Dimple's user avatar
1 vote
1 answer
38 views

Customizing Redirect to Page Action to redirect to specific site success page

I have a Sitecore Form in which post submission it redirects to success page so now we want Single Form to be used for Multisite structure in Sitecore. Currently Sitecore Forms provides only one page ...
Kumari Dimple's user avatar
0 votes
1 answer
37 views

Validate Date entered is in yyyy/mm/dd format in Sitecore Forms

I have a text field in the Sitecore form where the user needs to enter a Date. Currently, I am using Regex Validator that check date in mm/dd/yyyy format. Need support to check if the date is in yyyy/...
Abhivav's user avatar
3 votes
1 answer
57 views

Sitecore Form with multiple page displaying the field values in consequent page entered in previous page

I would like to know if the following situation is possible to handle with Sitecore Forms. Situation: The first page contains a form, the user clicks a button under the form and it is validated, but ...
Christopher Raja's user avatar
1 vote
1 answer
97 views

Sitecore Form Condition to check field should not be empty

I am trying to check if the field is not empty then navigate to next page. Please let me know how can we achieve using Sitecore Form condition. Kindly refer to the image attached for reference.
Mamtha's user avatar
  • 65
0 votes
1 answer
46 views

Create Sitecore Form datasource token

I want to use Sitecore Form folder as my datasource so that I can pull Sitecore Forms based on my different Site regions. When I use SXA form rendering, I want an option to select particular forms ...
Sophie's user avatar
  • 31
0 votes
0 answers
17 views

How to change the sitecore password if the password expiration code is implemented in sitecore 9.1 [duplicate]

Implemented sitecore user password expiration code but not able to reset the password of that user. Please let me know the way to reset the sitecore password.
Ruchi Gupta's user avatar
1 vote
2 answers
143 views

Uncaught TypeError: Cannot read properties of undefined (reading 'unobtrusive')

I am getting an error below while submitting the Sitecore forms in the Sitecore 10.3 version. Uncaught TypeError: Cannot read properties of undefined (reading 'unobtrusive') Does anyone ever ...
Sumit S's user avatar
  • 110
0 votes
2 answers
62 views

Sitecore Form Regex Validation to check if date is in mm/dd/yyyy format

I am using Single line Text field where user is entering date. How to perform check if value entered is in mm/dd/yyyy format using Sitecore Regex Validation. It should also consider leap year ...
Gagan's user avatar
  • 1
1 vote
1 answer
32 views

Date of Birth field for Sitecore Forms

I have requirement to add DOB field in Sitecore Forms in version 10.0. Is there any OOTB field that can be used for this. I see Date field is there but it is allowing current/future date selection ...
Uday's user avatar
  • 11
0 votes
2 answers
27 views

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

I am using sitecore form date control and specififed min and max date. when trying to enter date more than max value getting below validation message : "Please enter a value less than or equal ...
Ajay's user avatar
  • 1
1 vote
0 answers
13 views

Restrict Future Date Selection in Sitecore Form Date Field Type [duplicate]

I need Date of birth field in Sitecore Form and for that i used Date Control. But it's allowing selecting future dates also. Is there way to restrict user to pick date before specified date. Also If ...
Gaurav's user avatar
  • 11
0 votes
0 answers
25 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 Sitecore ...
eKoz's user avatar
  • 45
0 votes
0 answers
44 views

Recaptcha timeout and Validation Error Message on Form Display

I followed the below post to create a custom field for Recaptcha in Sitecore forms- https://dev.to/chandra_kodi/sitecore-google-recaptcha-v3-5d18 I am trying to validate it, but I am getting timeout ...
Sophie's user avatar
  • 31
0 votes
1 answer
41 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 ...
Sophie's user avatar
  • 31
1 vote
1 answer
95 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
0 votes
0 answers
42 views

Unable to submit Sitecore Form after adding Google Recaptcha V3

I followed the below post to create a custom field for Recaptcha in Sitecore forms- https://dev.to/chandra_kodi/sitecore-google-recaptcha-v3-5d18 Faced multiple issues, resolved them, and now I am ...
Sophie's user avatar
  • 31
0 votes
0 answers
21 views

Sitecore 10.2 - Form FileUpload - [duplicate]

I'm using Sitecore 10.2 and the out-of-the-box Forms module. I created a form, with a File Upload item. It works fine, the files are uploaded and I'm able to see and download them in the CSV exported ...
Claudia's user avatar
0 votes
0 answers
56 views

Add a custom control field in Sitecore Form

"400 Bad Request" appears in the network tab when I try to add a custom control field in Sitecore Form designer. I have already added a standard value for the template, following the ...
Sophie's user avatar
  • 31
1 vote
1 answer
77 views

Upload File is expecting file even after disabled

I have a mandatory file upload field in Sitecore forms that should be disabled based on a condition of a dropdown field. Even after making the mandatory upload field optional, Sitecore is still ...
Mamtha's user avatar
  • 65
0 votes
1 answer
55 views

Sitecore Forms Checkbox List Validation Issues

Using the suggestions from the following post, I made a custom validation for a checkbox list on a form using the Sitecore Forms Builder. However, when I click the checkbox I get the error message (&...
elke_wtf's user avatar
  • 125
0 votes
1 answer
115 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
2 answers
66 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
3 votes
2 answers
450 views

Is Recaptcha really needed to prevent bots attack in your Sitecore forms SXA 9.3?

Is Recaptcha really needed to prevent bots attack in your Sitecore forms SXA 9.3? My need is I want to prevent bot attack in my website. I have a sitecore form which is capturing user email. Do I ...
Sophie's user avatar
  • 31
0 votes
0 answers
58 views

map contact field shows empty in Sitecore custom submit action 10.2

I have created a custom submit action in the form for Identifying contact based on the form submission. So I have created based on the link https://doc.sitecore.com/xp/en/developers/103/sitecore-...
Rameshkumar's user avatar
0 votes
1 answer
283 views

How to include reCAPTCHA(version 3) in Sitecore Form 9.3.0?

How to include reCAPTCHA(version 3) in Sitecore Form 9.3.0 ?
Sophie's user avatar
  • 31
0 votes
0 answers
30 views

Want to use the HTML tags in the body(Text Editor) of SENDEmail Action

want to implement the Html tags in the body to send the data in mail in the tabular form. I tried to figure out its Template so that we can design a custom Template and inherit it but it’s inside the ...
Harshit Gupta's user avatar
1 vote
1 answer
247 views

Error occures while submiting sitecore forms

We have such console errors logged while submitting the Sitecore forms. We are using Sitecore 9.3. We have used multi-page form and when submitting the form it submits the data but in the developer ...
RKV's user avatar
  • 15
0 votes
1 answer
49 views

Set Sitecore dropdown filed value based on email field value

I have a Sitecore form with an email field and dropdown fields. I want to populate the dropdown field values as soon as the user enters an email. An ajax call will be made to check the email against a ...
kartik's user avatar
  • 1
1 vote
1 answer
72 views

prevent user from picking a date greater than today in sitecore forms

I am looking for a solution to restrict user from picking a date greater than today in Sitecore forms.
Mamtha's user avatar
  • 65
1 vote
1 answer
115 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
0 votes
1 answer
95 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=...
Jojo's user avatar
  • 463
0 votes
1 answer
82 views

Capture client-side errors on Sitecore Forms in Sitecore 9.3

We need to capture errors on Sitecore form after Submit button click. Below code return 0 value in console log on first attempt and that might be because errors appear only after submit click. In ...
Sukhjeevan's user avatar
0 votes
1 answer
86 views

how to populate a Dropdown list in the property editor of a custom form element with all the form fields?

I want to create a custom form element that has a property editor in which user can choose from a DropDownList of form fields. Similar to Edit Condition Dialog which user can choose form fields from ...
shararehl's user avatar
0 votes
0 answers
92 views

Redirect to custom 500 error page

We are using Sitecore 9.3 We have setup custom 500 error page on the portal and it works fine for application errors. But it does not redirect to the custom 500 error page for the below link - https://...
NewbieHere's user avatar
0 votes
0 answers
119 views

An existing connection was forcibly closed by the remote host - Sitecore Form Submission

We are upgrading the environment from 9.2 to 10.2 and deploying it in AKS. When we are submitting the form it throws a 500 Internal server error in the console and the form is not able to submit. An ...
Rameshkumar's user avatar
1 vote
1 answer
91 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
  • 346
1 vote
1 answer
46 views

Sitecore Custom form element does not follow bootstrap div "form-group" structure

We have created a new date picker field with dropdown options for Month, Year and Day by following the article Sitecore Guide The field data is being saved properly, but we are facing the below issues ...
D J's user avatar
  • 346

1
2 3 4 5
9