Hoppa till huvudinnehållet

How to make date time picker in workflow forms default to blank, so that setting a date is optional

Kommentarer

5 kommentarer

  • Permanently deleted user

    I don't think you can achieve what you want to do at this moment since the Product code does not allow to do it.

    On the RuntimeModification, you can set the InitialDate as Nullable Date like "form.Find(Of DatePickerFormItem)("DatePicker1").InitialDate = CType(Nothing, DateTime?)",

    However the TextBox shows the DefaultDate which set as Date.Now (CurrentDate) when InitialDate is not set.

    0
  • Permanently deleted user

    Hi,

    I also have this problem. Is it resolved? Is it possible to have blank date field in workflow form ? ( Make date field optional ) Thanks.

    Regards

    0
  • John Nerge

    You could add a radio button to your form that says something like "omit date" and then split your workflow based on whether or not the users selects it. Or you could do it the other way around and use a radio button that says "specify date".

    0
  • Permanently deleted user

    Or a CheckBox. With a RadioButton a second option is required for it to switch between.

    Regards

    Ralph

    0
  • Permanently deleted user

    Thanks Guys,

    I will use this way, it should be the only way we have.

    Regards

    0

Du måste logga in om du vill lämna en kommentar.