Conditional text in odt letter

I know how to do the "if sex == Female then 'her' else 'his'" - ie conditional on value of a User Field.

What I cannot get to work is "get user input and then test this in a condition"

As far as I can figure, we support the Function|Input, and one can use this to fill in part of a letter - but this does not create a variable that one can test.

I think that one should be able to do Variables|Set variable to create the required variable, then Variables|Input field to prompt the user for its new value. However, I cannot get this to work - it will not prompt me for input.

[What I need to do is either hide/expose text in response to user input, or to display xxx or yyy on the basis of user input.]

What am I doing wrong?

Regards, Tim G

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Conditional text in odt letter

It doesnt work...I have tried 50 different ways ...best I can figure the OO importer converter DOES NOT create a doc wide variable for user input fields...another example of this is using an single user input field in multiple locations on a document.  Say I want to ask the user for a date...then use that date in multiple spots...cant do it.  You need to ask for input for each place u want the custom date.  I suspect this is the same reason you cant use a user input field in a conditional statement.

Syndicate content