1

I have created a custom hidden field element in sitecore 9.0.1 forms(refered sitecore documentation https://doc.sitecore.com/developers/90/sitecore-experience-management/en/walkthrough--creating-a-custom-form-element.html).

I have created a form and added Default form save action. While posting form data to database,the custom field is not saved in database (note: others fields are saved).

Is there anything that I missed ?

  • Can you paste into your question more details about implementation? Maybe somebody will find some typo or some other mistake somewhere. This is too general specification of problem as it's working for other similar custom fields as you have mentioned. – Peter Procházka Jun 10 '19 at 17:35
  • Can you paste your code? – Swati Gupta Jun 11 '19 at 4:13
3

I have resolved with these below steps :

Two things we need to do to save a custom field.

  1. Inherit Save settings template to your custom field template.

enter image description here

  1. Navigate to your field item in question (like /sitecore/Forms/your form/page/your field) in content editor and make sure that "Allow Save" option is checked.
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.