I created a item in sitecore and added sitecore 9 forms rendering to that item.

I have created custom form submit action and saved data to custom database.

In my custom save i have used

customData.Product_Interest__c= Sitecore.Context.Item?.DisplayName;

for getting context item . But I always receiving null.

Any thing missed ?

1 Answer 1


Fixed by unchecking the Is Ajax checkbox in Forms.

enter image description here

Your Answer

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

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