# Error on Add Order Form

**URL:** <https://talk.openelis-global.org/t/error-on-add-order-form/172>\
**Category:** Ask OpenELIS\
**Created:** [November 9, 2023, 6:45am UTC](https://talk.openelis-global.org/t/error-on-add-order-form/172 "2023-11-09T06:45:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Griffith](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/david_griffith/32/83_2.png) [@David\_Griffith](https://talk.openelis-global.org/u/David_Griffith)\
**Post date:** [November 9, 2023, 6:45am UTC](https://talk.openelis-global.org/t/error-on-add-order-form/172/1 "2023-11-09T06:45:26Z")

</div>

I get this error when running the site locally and when using the online demo.

1. Login to the demo at [https://global.openelis-global.org:8443/OpenELIS-Global/](https://global.openelis-global.org:8443/OpenELIS-Global/)  
User name: demo  
Password: demoDEMO!
2. Click the Order menu and select Add Order
3. Type any text into the Requester textbox and hit tab to move to the next field  
A popup will appear with the following error: `error.provider.ininvalid`.  
This is a required field, but no matter what data I enter it triggers the error.

What data is expected to go into this field?

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [November 9, 2023, 9:01am UTC](https://talk.openelis-global.org/t/error-on-add-order-form/172/2 "2023-11-09T09:01:40Z")

</div>

From the [OrderEntryConfiguration](https://global.openelis-global.org:8443/OpenELIS-Global/SampleEntryConfigMenu) page  
Site and Provider fields can be configured to allow Free text or select existing values in the system.  
ie `restrictFreeTextProviderEntry` and `restrictFreeTextRefSiteEntry` ,  
If the properties are set to true , they do not allow free text entry but rather like a select for an existing provider or Site.

Sites and providers can be added manually or pulled from a FHIR store.  
But incase no providers existing in the system , those fields can be configured to allow free text
