Expand my Community achievements bar.

Formzet_-_Zoete
Formzet_-_Zoete
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • I've tried it with a Javascript and placed this at "form:ready"This seems to workif (xfa.resolveNode("Field").rawValue != null){          }     else          {          xfa.resolveNode("Field").rawValue = util.printd("ddmmyyyyHHMMss", new Date());          }But when i reset the form, the number is a...

    Type

    Questions

    Views

    856

    Likes

    0

    Replies

    0
  • Trying an other solution gave the same problemif ($.rawValue==null)then$.rawValue = Concat(Num2Date(date(), "DDMMYYYY"), Num2Time(time(), "HHMMSS"))else $.rawValueendifThe Preview in LiveCycle works perfect.But after exporting to PDF, the field has the creation date/time of the PDF.Of cource resetti...

    Type

    Questions

    Views

    856

    Likes

    0

    Replies

    0
  • I want to create a form-number based on the date and time.I've created a FormCalc script that works in Livecycle, but in Acrobat Pro it doesn't work (a fixed number appears, based on the date and time of the PDF i created in LiveCycle)if (Hasvalue(Field)) thennullelseField.rawValue = concat ((num2da...

    Type

    Questions

    Views

    5.0K

    Likes

    0

    Replies

    11
  • Hi,It works!!!I made a stupid copy/paste mistakeThank you for your help

    Type

    Questions

    Views

    869

    Likes

    0

    Replies

    0
  • Well, it is a text fieldSo it should work, but it doesn'tDoes this work on a dynamic table?I suspect that there are double quotes missing behind ( and before )???var fieldObj = xfa.resolveNode(vName + ".ui.#textEdit.border.fill.color");vsxfa.resolveNode("formulier1.#subform[0].top.PostcodePlaats.ui....

    Type

    Questions

    Views

    817

    Likes

    0

    Replies

    0
  • I've changed the script according to an other forum.But it doesn't workCan some one take a look at it?var vName = this.somExpression;var fieldObj = xfa.resolveNode(vName + ".ui.#textEdit.border.fill.color");if (this.rawValue == null) || (this.rawValue == "")) {fieldObj.value = "255,0,0";}elsefieldOb...

    Type

    Questions

    Views

    817

    Likes

    0

    Replies

    0
  • I've got 4 fields.The client must enter a Country name in Field1If this is "NL", than Field2, Field3 and Field4 become required.I've done this with FormCalcif (Field1 == "NL") thenField2.validate.nullTest="error"Field3.validate.nullTest="error"Field4.validate.nullTest="error"elseField2.validate.null...

    Type

    Questions

    Views

    741

    Likes

    0

    Replies

    1
  • I have a table with multiple columns.And a button that adds a new row on click.I want to change the fillcolor of one cell if that cell is empty.Is this posible?I know how to do it on normal fields, but not with a tableif ((xfa.resolveNode("name").rawValue == null) || (xfa.resolveNode("name").rawValu...

    Type

    Questions

    Views

    4.8K

    Likes

    0

    Replies

    5
Top badges earned by Formzet_-_Zoete
Customize the badges you want to showcase on your profile