Floating field value based on dropdown selection (gender)

Avatar

Avatar
Validate 1
Level 1
stephenf8734174
Level 1

Like

1 like

Total Posts

45 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
stephenf8734174
Level 1

Like

1 like

Total Posts

45 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
stephenf8734174
Level 1

06-03-2016

Hi, I'm creating a form that will have various fields, dropdowns etc where the responses will populate a range of floating fields in a letter. I would like to have a dropdown for gender (male/female) and if selected, will either populate in the letter as 'he' or 'she'. Is this possible?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

07-03-2016

Hi,

Here's a couple of ways of doing this in this sample https://sites.google.com/site/livecycledesignercookbooks/home/HeShe.pdf?attredirects=0&d=1

The Male/Female drop down can have a bound value of he/she, which means we can reference the value directly without going though any calculation.  If there's a lot of places where he/she needs to be substituted then you can simplify things by referencing the form field directly, though this does require editing the XML, but if you don't you'll end up with a hidden field for every occurrence.  Or you could edit the XML Source and change the reference to the same id of the one floating field.  There are examples of both in the linked sample above.

Regards

Bruce

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
stephenf8734174
Level 1

Like

1 like

Total Posts

45 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
stephenf8734174
Level 1

Like

1 like

Total Posts

45 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
stephenf8734174
Level 1

20-03-2016

Worked perfect - thanks for that Bruce!