# Why do I receive the error 'The string '\[XXXXXX\]' is not a valid AllXsd value' when my web form loads?

**URL:** <https://discuss.workflowgen.com/t/why-do-i-receive-the-error-the-string-xxxxxx-is-not-a-valid-allxsd-value-when-my-web-form-loads/178>\
**Category:** Visual Studio Web Forms\
**Created:** [July 28, 2009, 7:01am UTC](https://discuss.workflowgen.com/t/why-do-i-receive-the-error-the-string-xxxxxx-is-not-a-valid-allxsd-value-when-my-web-form-loads/178 "2009-07-28T07:01:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [July 28, 2009, 7:01am UTC](https://discuss.workflowgen.com/t/why-do-i-receive-the-error-the-string-xxxxxx-is-not-a-valid-allxsd-value-when-my-web-form-loads/178/1 "2009-07-28T07:01:00Z")

</div>

### Issue

You are receiving the error `The string '[XXXXXX]' is not a valid AllXsd value` when the web form loads.

### Reason

The web control that receives the string value [XXXXXX] has a WorkflowGen field data type specified that is not of type ‘String’.

For example, the following control for a request date has the the `FieldDataType` extended attribute set to `DateTime`:

```auto
<asp:Label ID="REQUEST_DATE" runat="server" FieldDataType="DateTime" FieldFormat="{0:d}" ></asp:Label>

```

If the action IN parameter passes a text string or anything that is not in a valid date format, WorkflowGen will cause a compilation error when the form is loaded.

You will receive a similar error if the `FieldDataType` extended attribute is `Numeric` or `Currency`.
