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.

96 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
390 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 "+...
5
votes
0answers
179 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?
4
votes
2answers
398 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 ...
3
votes
1answer
120 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 ...
3
votes
2answers
711 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 ...
2
votes
0answers
65 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.
2
votes
0answers
46 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 ...
2
votes
0answers
84 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 ...
2
votes
1answer
215 views

@Html.RenderFormStyles() and @Html.RenderFormScripts() on existing website

In the below thread, the solution for adding @Html.RenderFormStyles() and @Html.RenderFormScripts() in OuterLayout.cshtml was provided. If we have an already existing site and we want to add forms ...
2
votes
0answers
113 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 ...
2
votes
1answer
624 views

Experience Forms Tracking Issue - alias should not be null or an empty string. Parameter name: alias

We are getting the error once we submit the Sitecore 9.1 form. This is happening when we enable the checkbox Is tracking Enable in Sitecore core form. and this error is not with Standalone role, only ...
2
votes
0answers
259 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 ...
2
votes
1answer
604 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 ...
1
vote
0answers
77 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 ...
1
vote
1answer
68 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 ...
1
vote
0answers
111 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 ...
1
vote
1answer
108 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 ...
1
vote
2answers
132 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 ...
1
vote
0answers
79 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 ...
1
vote
0answers
98 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?
1
vote
0answers
155 views

Sitecore forms - How to override number validation message?

I am using Sitecore 9.2 forms with OOB number field and number validator. Is there a way to override the default number validation message. The default message shows "The field Value must be a number."...
1
vote
0answers
41 views

Error on dragging a form element when using Ninject

I am getting below error when I drag a form element on form designer. I think it is because of dependency injection. I am using ninject DI in my application. Looking for help how to handle ...
1
vote
0answers
128 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, ...
1
vote
0answers
115 views

How to delete specific saved Sitecore Forms entries using SPE

I'm using Sitecore 9.0.1 and using the default Save Data submit action on my form: There are many garbage entries due to test and bot submissions, and there isn't a way to delete any of the entries. ...
1
vote
0answers
20 views

Unable to add items based on Form Parameter template under /FormsBuilder Child item in Core DB?

While creating a Form Parameter Item for a Custom Form Field in Core DB under sitecore/client/Applications/FormsBuilder/Components/Layouts/PropertyGridForm/PageSettings/Settings I faced an issue. I ...
1
vote
0answers
178 views

Simpleinjector DI issue with Formbuildercontroller

I am getting error when i try to create "new blank form" through Sitecore forms. The error is : Exception message: No registration for type FormBuilderController could be found and an implicit ...
1
vote
0answers
49 views

Sitecore Form with Salesforce Connect - Custom validations for postcode using external API

The custom validation for the postcode validation using Sitecore forms for a simple contact form which connects to salesforce. I have seen multiple articles for the custom validation and also ...
1
vote
0answers
24 views

how to create custom saveactions at content tree side

sitecore 9.1 how to create forms saveactions at content tree side,like sitecore 8.2 wffm's saveactions.? In sitecore 9.1 directly select save action at forms module but we need to same at content ...
1
vote
0answers
246 views

Form not getting displayed on published page

I am using sitecore 9.1.1 with SXA 1.8 installed. I have created a simple contact form using form extensions (By Bart verdonck). However, the form gets displayed partially(all input tags of type='...
1
vote
0answers
59 views

Spam contacts is saving in DB

I am using Sitecore 9 Update 2, I have created one Form also I have applied Google Visible Recaptcha which is available in Form Extension Module but still I can see lots of spam Contacts in DB. Does ...
1
vote
0answers
108 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 ...
1
vote
0answers
98 views

How do I read different sitecore fields in the mail?

Each property detail page has a Request a viewing button which opens a form. The ask is, on the click of the submit button of this form an email with property title, URL, image(Sitecore fields) should ...
1
vote
0answers
134 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 ...
1
vote
2answers
350 views

Sitecore form and list manager contact not saving properly

I am using Sitecore form to subscribe to news. In the On submit of the form, I am triggering the goal. Once the goal is triggered, I have a marketing automation campaign which add the contact to the ...
1
vote
0answers
140 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 ...
1
vote
0answers
433 views

Sitecore Form custom error message is not displaying for Email Validator

I have a form in my page. One of the requirements is to validate the email address if it is valid or not. I put my custom error message from /sitecore/system/Settings/Forms/Validations/Email ...
1
vote
0answers
614 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 ...
1
vote
0answers
493 views

Sitecore Forms - Incorrect form submission redirection

I have a basic form built in Sitecore Forms. One of the fields is marked as mandatory. If a user submits the form without having input a value in the mandatory field, they are redirected to a page ...
1
vote
0answers
357 views

403 Forbidden error on saving form after opening experience editor

A few days ago I posted this question:- 403 Forbidden when saving form I was facing an issue where whenever I tried to save the form,I would get the 403 forbidden error in the console. After ...
1
vote
2answers
171 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
0answers
22 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 ...
0
votes
0answers
25 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 ...
0
votes
0answers
21 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 ...
0
votes
0answers
29 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?
0
votes
0answers
71 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....
0
votes
0answers
30 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 ...
0
votes
0answers
27 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 ...
0
votes
1answer
31 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 ...
0
votes
0answers
56 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 ...
0
votes
1answer
49 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 "...