Floating field value based on dropdown selection (gender)



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)





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.