Variable triggered unwantedly

User-to-User discussion about the PhraseExpress macro programming.
Post Reply
Tobias
Posts: 12
Joined: 09 Aug 20, 11:14

Variable triggered unwantedly

Post by Tobias » 28 Dec 20, 19:10

My phrase looks like this:

[Form input - checkbox group] with an option of A. Output if checked -> set a variable X (which is a string). Output if not checked is empty.
[Form input 2 - checkbox group] with an option of B. Output if checked -> set a variable Y (which is a string). Output if not checked is empty.

Then the output (the variable which contains a string) is saved and set in variable O (the variable content is variable X and Y). The output of variable O is saved to the clipboard.

I want this:
- When option A is checked the variable O must only contain variable X.
- When option B is checked the variable O must only contain variable Y.
- When option A and B is checked the variabel O contains both variable X and Y.

Now when I try the string it turns out that:
- if I check option A, that triggers also variable Y to be printed out.
- if no options are checked, that triggers also variable Y to be printed out.
Why is variable Y outputted even though it is not checked (and therefore should not be set as an variable in the first place)?

Please help me.

Technical Support
Posts: 2798
Joined: 10 Feb 06, 22:23

Post by Technical Support » 11 Jan 21, 09:53

Post your code, so we can take a look

mafradirect
Posts: 9
Joined: 25 Apr 19, 19:09

Post by mafradirect » 17 Feb 21, 15:27

Hello,
Is there any solution for this issue?
I guess I have the same problem. I have already posted it with all details in the German area.
Has it anything to do with the "new function" called "The last form input can be restored." ?
If yes, where can this new function be disabled ?
Thank you for your support !

Post Reply