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 ?

2
  • 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. Commented Jun 10, 2019 at 17:35
  • Can you paste your code? Commented Jun 11, 2019 at 4:13

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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