3 CheckBox with 1 TextField.

Avatar

Avatar
Validate 1
Level 2
Arnold_L
Level 2

Like

1 like

Total Posts

50 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
Arnold_L
Level 2

Like

1 like

Total Posts

50 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Arnold_L
Level 2

09-03-2009

Hello,



I have a total of 3 CheckBoxes and 1 Textfield.



CheckBox1 - Dog

CheckBox2 - Cat

CheckBox3 - Mouse



TextField1 - Will show value of 1-3 CheckBoxes when checked.



I appreciate any response with a solution.



Thank You,

Arnold Love

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

09-03-2009

On the exit of each checkbox:



TextField1.rawValue = TextField1.rawValue + " " + this.rawValue;

Avatar

Avatar
Validate 1
Level 2
Arnold_L
Level 2

Like

1 like

Total Posts

50 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
Arnold_L
Level 2

Like

1 like

Total Posts

50 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Arnold_L
Level 2

09-03-2009

I'll try it right now. Thank you

Avatar

Avatar
Validate 1
Level 2
Arnold_L
Level 2

Like

1 like

Total Posts

50 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
Arnold_L
Level 2

Like

1 like

Total Posts

50 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Arnold_L
Level 2

09-03-2009

Hi Paul,



It adds the value, how would I (add enter) so the text are seperate lines.



Example 1:



The dog is in the dog house. The cat is in a tree. (bad)



Example 2:

The dog is in the dog house.

The cat is in the tree



Viewing the text as in Example 2 is easier to read.



Thank You,

Arnold

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

09-03-2009

\n is a newline in Javascript.



so If I were adding strings:



TextField1.rawValue = "The dog is in the dog houose." + "\n" + "The cat is in the tree"