Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Hello, i'm trying to adapt some old script in an xdp document.
While previewing a document that should display a date in livecycle designer works well,
this code doesn't work in HTML mode:
myDate=util.printd("dd/mm/yyyy",new Date());
this.rawValue=myDate;
trying to catch the error i get: "referenceError: util is not defined"
How can i solve this?
Thank you very much
Solucionado! Ir para a Solução.
Visualizações
respostas
Total de curtidas
this seems to come from some external library. I am not aware that printd is supported by the XFA scripting in JS.
In FormCalc you have the DateFmt() function which would do what you want - and you could use picture clauses for your fields.
If "this" is a DateField you can set the formatting to match what you want without scripting.
this seems to come from some external library. I am not aware that printd is supported by the XFA scripting in JS.
In FormCalc you have the DateFmt() function which would do what you want - and you could use picture clauses for your fields.
If "this" is a DateField you can set the formatting to match what you want without scripting.
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas