# Error in Create Identity using Data Calendar Value

**URL:** <https://developer.sailpoint.com/discuss/t/error-in-create-identity-using-data-calendar-value/22550>\
**Category:** IIQ Discussion and Questions\
**Tags:** forms, identityiq\
**Created:** [December 12, 2023, 4:58pm UTC](https://developer.sailpoint.com/discuss/t/error-in-create-identity-using-data-calendar-value/22550 "2023-12-12T16:58:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaimemartinkpmg](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@Jaimemartinkpmg](https://developer.sailpoint.com/discuss/u/Jaimemartinkpmg)\
**Post date:** [December 12, 2023, 4:58pm UTC](https://developer.sailpoint.com/discuss/t/error-in-create-identity-using-data-calendar-value/22550/1 "2023-12-12T16:58:37Z")

</div>

### Which IIQ version are you inquiring about?

Version 8.3

### Share all details related to your problem, including any error messages you may have received.

I am working with a custom form.  
This form includes postback and dynamic fields as well as date fields. The dynamic fields are set correctly but when I set a postback field the date fields are no longer operative.

How can I retrieve logs in case an exception is occurring?  
Is it some kind of known bug?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![KRM7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krm7/32/2685_2.png) [@KRM7](https://developer.sailpoint.com/discuss/u/KRM7)\
**Post date:** [December 12, 2023, 8:54pm UTC](https://developer.sailpoint.com/discuss/t/error-in-create-identity-using-data-calendar-value/22550/2 "2023-12-12T20:54:57Z")

</div>

Hello @Jaimemartinkpmg

Welcome to SailPoint developer community.

Would you mind sharing the XML form here by removing sensitive data if any, so that we can take a look.

Thanks  
Krish

---

<div class="post-metadata">

**Author:** ![Jaimemartinkpmg](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@Jaimemartinkpmg](https://developer.sailpoint.com/discuss/u/Jaimemartinkpmg)\
**Post date:** [December 13, 2023, 8:41am UTC](https://developer.sailpoint.com/discuss/t/error-in-create-identity-using-data-calendar-value/22550/3 "2023-12-13T08:41:41Z")

</div>

Hello!

```auto
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Form PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Form created="1701264878825" id="c0a872428bf714eb818c1b49ece974ff" modified="1702398764591" name="Create Identity Form" type="CreateIdentity">
  <Attributes>
    <Map>
      <entry key="pageTitle" value="Create Identity Form"/>
    </Map>
  </Attributes>
  <Section columns="3" label="Identity Type" name="identityType">
    <Field columnSpan="1" displayName="Identity Type" dynamic="true" name="identityType" postBack="true" required="true" type="string">
      <AllowedValuesDefinition>
        <Value>
          <List>
            <String>in</String>
            <String>out</String>
          </List>
        </Value>
      </AllowedValuesDefinition>
    </Field>
    <Field columnSpan="1" displayName="Entity" dynamic="true" name="entity" postBack="true" required="true" type="string">
      <AllowedValuesDefinition>
        <Value>
          <List>
            <String>Test1</String>
            <String>Test2</String>
          </List>
        </Value>
      </AllowedValuesDefinition>
      <Attributes>
        <Map>
          <entry key="hidden" value="rule:Global -EntityHidden_Rule"/>
        </Map>
      </Attributes>
    </Field>
    <Field columnSpan="1" dependencies="entity" displayName="Username" dynamic="true" name="name" required="true" type="string">
      <Attributes>
        <Map>
          <entry key="readOnly" value="true"/>
        </Map>
      </Attributes>
      <RuleRef>
        <Reference class="sailpoint.object.Rule" id="c0a872428bf714eb818c5d32425e2b35" name="GLobal - getUsername_Rule"/>
      </RuleRef>
    </Field>
  </Section>
  <Section columns="2" label="Personal Information" name="personalInformation">
    <Field columnSpan="1" displayName="First Name" name="firstname" required="true" type="string"/>
    <Field columnSpan="1" displayName="Family Name" name="lastname" required="true" type="string"/>
  </Section>
  <Section columns="2" label="Organizational information" name="organizationalData">
    <Field columnSpan="1" displayName="StartDate" dynamic="true" name="startdate" required="true" type="date">
    </Field>
    <Field columnSpan="1" displayName="End Date" name="enddate" type="date">
      <ValidationRule>
        <Reference class="sailpoint.object.Rule" id="c0a8724284e11f9d818595d6fedf47bd" name="ISS_Rule_Validation_CreateConsultantDates"/>
      </ValidationRule>
    </Field>
    <Field columnSpan="1" displayName="Department" dynamic="true" name="department" required="true" type="string">
      <AllowedValuesDefinition>
        <RuleRef>
          <Reference class="sailpoint.object.Rule" id="c0a872428bf714eb818c59d7ff5724d9" name="GetDepartments_Rule"/>
        </RuleRef>
      </AllowedValuesDefinition>
    </Field>
    <Field columnSpan="1" displayName="Sub Department" dynamic="true" name="subdepartment" postBack="true" required="true" type="string">
      <AllowedValuesDefinition>
        <RuleRef>
          <Reference class="sailpoint.object.Rule" id="c0a872428bf714eb818c59d8882b24da" name="GetSubDepartments_Rule"/>
        </RuleRef>
      </AllowedValuesDefinition>
    </Field>
    <Field columnSpan="1" displayName="Job Title" name="jobtitle" type="string"/>
    <Field columnSpan="1" displayName="Email" name="email" required="true" type="string"/>
    <Field columnSpan="1" displayName="Manager" name="manager" required="true" type="sailpoint.object.Identity"/>
    <Field columnSpan="1" displayName="Position" dynamic="true" name="position" type="string">
      <Attributes>
        <Map>
          <entry key="readOnly" value="true"/>
        </Map>
      </Attributes>
      <RuleRef>
        <Reference class="sailpoint.object.Rule" id="c0a872428bf714eb818c59cd8f0124c2" name="Global - SetPosition_Rule"/>
      </RuleRef>
    </Field>
    <Field columnSpan="1" displayName="Employer" name="employer" required="true" type="string">
      <AllowedValuesDefinition>
        <RuleRef>
          <Reference class="sailpoint.object.Rule" id="c0a8724287141a0181872275717357a3" name="_Rule_GetExternalCompanyNames"/>
        </RuleRef>
      </AllowedValuesDefinition>
    </Field>
    <Field columnSpan="1" displayName="Role" dynamic="true" name="role" type="string">
      <Attributes>
        <Map>
          <entry key="readOnly" value="true"/>
        </Map>
      </Attributes>
      <RuleRef>
        <Reference class="sailpoint.object.Rule" id="c0a872428bf714eb818c59ccc4f124c1" name="Global - SetRole_Rule"/>
      </RuleRef>
    </Field>
  </Section>
  <Section name="Section 4">
    <Field displayName="Password" name="password" type="secret">
      <Attributes>
        <Map>
          <entry key="hidden" value="true"/>
        </Map>
      </Attributes>
    </Field>
    <Field displayName="Password Confirmation" name="passwordConfirm" type="secret">
      <Attributes>
        <Map>
          <entry key="hidden" value="true"/>
        </Map>
      </Attributes>
    </Field>
  </Section>
  <Button action="refresh" label="Refresh"/>
</Form>

```

The date selector “breaks” when you have selected the date in the calendar, and then select one with the postback, like identityType, entity or subdepartment.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [February 11, 2024, 8:42am UTC](https://developer.sailpoint.com/discuss/t/error-in-create-identity-using-data-calendar-value/22550/4 "2024-02-11T08:42:21Z")

</div>

Closed on February 11, 2024, 8:42am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
