# EXPECTED INPUT IS MISSING

**URL:** <https://community.ofelia.com/t/expected-input-is-missing/10011>\
**Category:** Q&A\
**Created:** [18 February 2020 09:43 UTC](https://community.ofelia.com/t/expected-input-is-missing/10011 "2020-02-18T09:43:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitikakhatkar97\_1421](https://avatars.discourse-cdn.com/v4/letter/n/76d3ee/32.png) [@nitikakhatkar97\_1421](https://community.ofelia.com/u/nitikakhatkar97_1421)\
**Post date:** [18 February 2020 09:43 UTC](https://community.ofelia.com/t/expected-input-is-missing/10011/1 "2020-02-18T09:43:59Z")

</div>

I have an instantiation having business variable :sample, attributes: name,description. On submisssion of form it gets saved in database sample.

Then in next task I have added contract :sampleInput(name,description). and have displayed the attributes in corresponding form in read-only .

Form is showing correct values.But on submission of the form&nbsp; it is showing error :Expected input[sampleInput] is missing.&nbsp;

I don't know how to resolve this error. Is there any way to debug this?.

---

<div class="post-metadata">

**Author:** ![nasrin788\_1384620](https://avatars.discourse-cdn.com/v4/letter/n/2acd7d/32.png) [@nasrin788\_1384620](https://community.ofelia.com/u/nasrin788_1384620)\
**Post date:** [18 February 2020 10:58 UTC](https://community.ofelia.com/t/expected-input-is-missing/10011/2 "2020-02-18T10:58:54Z")

</div>

Hi

when you add contract :sampleInput(name,description) , then you have to add sampleInput variable in output of form

---

<div class="post-metadata">

**Author:** ![kindel](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@kindel](https://community.ofelia.com/u/kindel)\
**Post date:** [9 February 2023 09:43 UTC](https://community.ofelia.com/t/expected-input-is-missing/10011/3 "2023-02-09T09:43:04Z")

</div>

Hello @nasrin788\_1384620,

&nbsp;

I have the same issue and i didn't understand your response, can you or anyone else help expatiate on the solution?

&nbsp;

Regards,
