Expand my Community achievements bar.

jasotastic81
jasotastic81
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • It sounds like you're going to have to use some clever logic to add that possibility. I would say something like this in the calculate event of the total box:if (tfProductCode.rawValue == "widgits" || tfProductCode.rawValue == "gizmos || ... )      this.rawValue = this.parent.tfSize.rawValue * this....

    Type

    Questions

    Views

    716

    Likes

    0

    Replies

    0
  • Basically you want a "reset" button, right? Do you care if the list is in a different order? I.e., can the "reset" button just move everything back over to the first box regardless of order? If so,for (var i = 0; i < ListBox2.length; i++) ListBox1.addItem(ListBox2.getDisplayItem(i));for (var i = Lis...

    Type

    Questions

    Views

    613

    Like

    1

    Replies

    0
  • I'm not exactly sure how you'd want to score the languages. Something like, if they're in alphabetical order, the user gets 4 points for the first answer, 3 for the second, etc. Or if they're all in the correct order, then the user gets 10 points. Or the user is answering how many lnguages he speaks...

    Type

    Questions

    Views

    603

    Likes

    0

    Replies

    0
  • tf3.rawValue = tf1.rawValue + "   " + tf2.rawValue;

    Type

    Questions

    Views

    362

    Likes

    0

    Replies

    0
  • I would ask the person who is asking for the forms, why would you want information to be in the form on a page that is hidden? It's hidden for a reason, I presume. I don't know exactly what this form is for, but from the field names, I'll take a guess.If I have a list of people (say person 1 and 2),...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • OK, here's a picture of the code that I sent added to a form with two fields. The code, as I entered it, will cause the page (p2) to be hidden if and only if the two fields are blank (empty or null). If either field has anything in it, the page is visible.

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • If the problem is occuring when they change back to an empty field, then the field may not be showing null once it's empty. This if statement covers that (note the parentheis):if ((this.isNull || this.rawValue == "") && (SN2Field.isNull || SN2Field.rawValue == ""))Then a similar if statement for the...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • It's fine. I actually enjoy this kind of problem.OK, you'll need a script for both fields if you're using their "exit" events. For SNField:if (this.isNull && SN2Field.isNull) page2.presence = "hidden";else page2.presence = "visible";and for SN2Field:if (this.isNull && SNField.isNull) page2.presence ...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • If this person entering the form does NOT enter or exit the sn field.  What if the pages (all except page 1) were "hidden" unless they entered the sn for the associated page?The pages should be hidden to start with. Select the each page after 1 in the heirarchy on the left side of the screen and cha...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • in the exit event for your sn fields you can add code like this--presuming that the pages are labeled p1, p2, p3, etc.if(!this.isNull) p2.presence = "visible";else p2.presence = "hidden";If you include the if and else clauses, then a user can delete the information in the field and page 2 will becom...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0