Expand my Community achievements bar.

Jodi1725
Jodi1725
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hey Bruce!I actually figured it out!  I used Loop Through Subform Instances  and used this code.expenseReport.#subform[0].validate2::click – (JavaScript, client)  var vItems = expenses.expense.all;  for(i=0; i<vItems.length; i++)  {      if (vItems.item(i).description.rawValue == null)      {       ...

    Type

    Questions

    Views

    4.7K

    Likes

    0

    Replies

    0
  • I used this codeexpenseReport.#subform[0].validate2::click – (JavaScript, client)  var vItems = expenses.expense.all;  for(i=0; i<vItems.length; i++)  {      if (vItems.item(i).description.rawValue == null)      {          xfa.host.messageBox("Missing description field");          break;      }  }I ...

    Type

    Questions

    Views

    1.0K

    Like

    1

    Replies

    0
  • Hey Bruce!Long time no talk! Hope you are doing well!  I have another repeating issue that I can't get to work I once again am trying to validate through a repeating subform, but this is just the subform.  I have tried to manipulate the different code you sent me but I am just getting validation on ...

    Type

    Questions

    Views

    4.7K

    Likes

    0

    Replies

    0
  • Hello All!I have a form with repeating subforms.  You click a button and a second(or third)instance of a subform is generated.I need to create javascript on a print button that verifies certain fields on each subform is filled in (name address, etc)I found this doc Loop Through Subform Instances  th...

    Type

    Questions

    Views

    1.3K

    Like

    1

    Replies

    3
  • Hey all! The blog was extremely helpful!  Does anyone know how to loop through more than one field in a subform? I am trying to create code where we check for multiple empty fields, looping through the subforms. Any ideas?Thanks!Jodi

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • YES!  That did it!  I used the first example you gave me.  Thanks you so much Magus for the help!!!Have a great weekend!Jodi

    Type

    Questions

    Views

    1.5K

    Likes

    0

    Replies

    0
  • Hi Magus!The code that I entered above wasn't working on the click event of the button that adds the additional instance.So what I did was on the drop down list I tried the following on both the initialize and the enter event, and it still doesn't work.if (Main.Campus.Urbana.rawValue == "1") Main.Pr...

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • Which Initialize would I put it on?  For the button that creates the additional instance of the subform?Currently on the click even of the button I have thisAwardees.instanceManager.addInstance(1).presence = "visible";I have tried to add an if statement after that saying if (Main.Campus.Urbana.rawVa...

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • HI All!Need some help with some javascript.   I have a form that has a radio button B that when you select it, shows a subform.  Inside the subform is a table that has a dropdown list.  The drop down list is populated based on a previous radio button A that was selected, and is a subset of possible ...

    Type

    Questions

    Views

    2.2K

    Likes

    0

    Replies

    6
  • Hey Bruce!You are awesome!  What it is supposed to do is check the Fund field for each person that is added.  If any one of the people have a fund that has a 4 or 5 as the first number, then the whole form needs to be sent to the grants and contracts office first for approval.  when Grants and contr...

    Type

    Questions

    Views

    4.7K

    Likes

    0

    Replies

    0