AnsweredAssumed Answered

Date field for birthday

Question asked by frteixeira on Mar 12, 2018
Latest reply on Mar 16, 2018 by frteixeira

Hello,

 

I had a need to create a birthday date field but Service Desk only allow dates after 1970.

I came with the idea to create that field as a string, and then in the detail_cnt create the field with javascript.

But unfortunately I'm not able to save the value of that javascrip field to the SDM field.

 

This was my attempt:

detailRowHdr("Birthday Date");
detailSetRowData("<input type=date name='z_bday' value='$args.z_birthday' size=8>");

<PDM_SET args.z_birthday=document.getElementById("z_bday").value>

 

Anyone had the same need as I?

How to solve this?

 

Thank you in advance. 

Outcomes