Ask Your Question
0

Multiple choices in conditional text field Writer

asked 2018-07-24 13:04:12 +0200

Ibelin123 gravatar image

updated 2018-07-29 00:16:29 +0200

Am I correct in saying that in conditional text field in writer, You can only have two choices? In the attached file, I can only choice between banana –> very small. All other fruits are large.

Would it possible that if I choose “banana” the other field will be “very small,” mango---> small; apple->medium; orange--> large. Thanks a lot!

C:\fakepath\Conditional Text.odt

EDITED to attach this:

C:\fakepath\Conditional Text - Possible Solution.odt

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2018-07-25 17:53:55 +0200

mauricio gravatar image

Example with macros, basically, it's the same code of my last example, try you.

C:\fakepath\foro.odt

edit flag offensive delete link more

Comments

Thank you @mauricio..but I cant seem to make it work. My macro is already enabled. I would also like to learn this solution since I dont have to type my options.

Ibelin123 gravatar imageIbelin123 ( 2018-07-29 00:18:51 +0200 )edit
0

answered 2018-07-25 13:20:16 +0200

Yes, using Conditional text field, you only can have two options. But you can use Hidden text instead, with a condition that would only show the field when a variable has relevant value. Having several such fields in one position (one for each fruit) would allow you to achieve your goal.

edit flag offensive delete link more

Comments

Thank you! "Having several such fields in one position (one for each fruit) would allow you to achieve your goal." This gave me an idea with conditional text. (My only problem with this is the spaces it will create if I have many options. I have attached it in my original question.. You cannot attach something in the comment, right?) But I cannot figure it out with the Hidden Text as you suggested. Could help me? I would just like to learn about hidden text for future use.

Ibelin123 gravatar imageIbelin123 ( 2018-07-29 00:09:53 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-07-24 13:04:12 +0200

Seen: 131 times

Last updated: Jul 29 '18