Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Unable to populate date field on form initialize event

$
0
0

I been using this script before on my other forms to basically auto populate a date field on form initialization.  However, on the form that I am currently working on, the code does not work.  Any help would greatly be appreciated.

 

form1.JV.Dare::initialize - (JavaScript, client)

 

if(status.rawValue != "Something")

{

var msNow = (new Date()).getTime();

var d1 = new Date(msNow);

this.rawValue = until.printd("yyyy-mm-dd", d1);

}

else

{

this.rawValue = rawValue;

}


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>