How to Make date Picker field non-editable using java script. currently we are u

How to Make date Picker field non-editable using java script. currently we are using below java script to make field disable
(document.getElementsByName("myFieldName")[0]).disabled = true;
but it only disables textbox of date picker and not image available with date picker.
Please suggest....

OriginalPostID-61555

OriginalPostID-61555

  Discussion posts and replies are publicly visible

Parents
  • Hi sathya,
    our use case is creating dynamic task in appian, so we are providing start date and due date and other info as input for creating tasks. we have three custom status for the task e.g("Pending","Active","Completed"). when next time Administrator of Application opens the form which lists all the tasks,depending on the status of the Tasks the appropriate date field should get disable. we can not use default option to make field invisible or disable because its a grid which contain list of task having different status.
Reply
  • Hi sathya,
    our use case is creating dynamic task in appian, so we are providing start date and due date and other info as input for creating tasks. we have three custom status for the task e.g("Pending","Active","Completed"). when next time Administrator of Application opens the form which lists all the tasks,depending on the status of the Tasks the appropriate date field should get disable. we can not use default option to make field invisible or disable because its a grid which contain list of task having different status.
Children
No Data