0 Replies Latest reply on May 23, 2013 7:43 AM by iccsi

    CFINPUT DateField

    iccsi Level 1

      I want to access CFINPUT DateField in my JavaScript, but got page error.

      It works if I use text field, but not DateField



      function GetLink()


        var url = 'MyForm.cfm?StartDate=' + document.MyRequest.dtpEndDate2.Value;

      return url;






      I have above code in my script, it works if the control is a text field, but I got page error when I use DateField,


      Please advise how I can read the datefield value,

      Your help and information is great appreciated,