Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Adding Multiple Objects to One Table Cell

Avatar

Avatar
Level 1
joshwa33
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
joshwa33
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
joshwa33
Level 1

30-06-2015

I am in the process of creating a checklist.  It is a very simple form with three columns and eight rows.  Depending on the topic of the row the third column in that row may need to contain multiple check boxes along with a drop down list or multiple check boxes, a drop down list and a free text field.  The issue is that when I create a check box within the third column of a row the check box takes up the whole field and I cant figure out how to add a second check box much less a second or third object.  Please help. 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 4
jasotastic81
Level 4

Likes

35 likes

Total Posts

329 posts

Correct Reply

43 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
jasotastic81
Level 4

Likes

35 likes

Total Posts

329 posts

Correct Reply

43 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
jasotastic81
Level 4

02-07-2015

Here's my solution. Basically, the cell with multiple objects gets a subform inside, and the items inside of that are hidden by default. Then, based on the choice in a dropdown list, I make them visible.

784818_pastedImage_1.png

784819_pastedImage_2.png784820_pastedImage_3.png

784821_pastedImage_4.png784822_pastedImage_5.png

The script:


sfCell.sfCBSet.presence = sfCell.ddSomething.presence = sfCell.tfSomething.presence = "hidden";


switch (this.rawValue){


  case "Checkboxes":


    sfCell.sfCBSet.presence = "visible";


    break;


  case "Dropdown":


    sfCell.ddSomething.presence = "visible";


    break;


  case "Text Field":


    sfCell.tfSomething.presence = "visible";


    break;


}