Expand my Community achievements bar.

Formzet_-_Zoete
Formzet_-_Zoete
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • i have two date fields in different subforms.the first must be older then the current dateand the second must be newer than the first date.i tried to create a javascript to validate the fields, but i don't know how to do thisanyone?

    Type

    Questions

    Views

    3.8K

    Likes

    0

    Replies

    4
  • I'm relative new to scripting and i don't know how to do this.I have a telephone field with the right format and a limit of 10 numbers.But how do i check if the user enters less than 10 numbers.And present them a message when they do

    Type

    Questions

    Views

    702

    Likes

    0

    Replies

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

    Type

    Questions

    Views

    1.2K

    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

    1.2K

    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

    1.2K

    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

    822

    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

    5.2K

    Likes

    0

    Replies

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