This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Maybe you can attach your project ?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 18, 2009
02:32 AM
Resetting Default value
Hello,
i have two varaible 1. $TEST$ and 2. $MODIFY$
in the first screen input text box i set $TEST$ variable as 456.
and next screen input text box default value is $TEST$ and resultant var is $MODIFY$. means the default value of $ MODIFY$ text field is $TEST$.
now i moved to previous screen using back button and edited the $TEST$ text box value to 123 and came to next screen here the default value of $MODIFY$ is not changing to 123.
my question is : the default value of input box is not resetting.
please suggest how can we achieve this one?
i have two varaible 1. $TEST$ and 2. $MODIFY$
in the first screen input text box i set $TEST$ variable as 456.
and next screen input text box default value is $TEST$ and resultant var is $MODIFY$. means the default value of $ MODIFY$ text field is $TEST$.
now i moved to previous screen using back button and edited the $TEST$ text box value to 123 and came to next screen here the default value of $MODIFY$ is not changing to 123.
my question is : the default value of input box is not resetting.
please suggest how can we achieve this one?
(11) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 18, 2009
04:13 AM
Hello,
When you set your variable $MODIFY$, uncheck the "Evaluate any variable at assignement".
Then when you will press back and set a new value, this should be taken into account.
Jerome
When you set your variable $MODIFY$, uncheck the "Evaluate any variable at assignement".
Then when you will press back and set a new value, this should be taken into account.
Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 18, 2009
04:22 AM
Hi thanks for your reply,
but we dont have such option for the advaced input text field default value.
once we set the default value of text field, i could not able to reset it with new value.
for a single or multiple variable actions we have such evaluate at assignment option.
but for advanced input text component we dont have such value.
please suggest some other
but we dont have such option for the advaced input text field default value.
once we set the default value of text field, i could not able to reset it with new value.
for a single or multiple variable actions we have such evaluate at assignment option.
but for advanced input text component we dont have such value.
please suggest some other
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 18, 2009
05:00 AM
One suggestion I can made is to add a single variable between your 2 get user input panels:
Variable name= $MODIFY$
set value to = $TEST$
("evaluate" unchecked)
then in your second get user input for $MODIFY$, set its default value to $MODIFY$ instead of $TEST$.
This should work as you expect.
Variable name= $MODIFY$
set value to = $TEST$
("evaluate" unchecked)
then in your second get user input for $MODIFY$, set its default value to $MODIFY$ instead of $TEST$.
This should work as you expect.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 18, 2009
06:59 AM
HI,
i already tried in that but it did not work
please suggest some other way
i already tried in that but it did not work
please suggest some other way
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 18, 2009
08:30 AM
Hello,
Same scenario works for me, can you please attach your project or at least screen shots of the 3 actions we were talking about.
Which version of IA are you using ?
Was the new variable set between the 2 "get user input" panels ?
Regards
Jerome
Same scenario works for me, can you please attach your project or at least screen shots of the 3 actions we were talking about.
Which version of IA are you using ?
Was the new variable set between the 2 "get user input" panels ?
Regards
Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 18, 2009
10:29 AM
Hello ,
thanks for your reply ,
iam using IA 2008 VP1
explain you my scenario again :
1. First screen : input text box : var : $TEST$ and gave 400
2. set instal anywhere var : $DEF_MODIFY$=$TEST$
3.second screen : inmput text box : var $MODIFY$ and default value : $DEF_MODIFY$
so now first screen i entered 400 so test is set to 400 and second screen will display the value with 400(default value).
now using back button moved to first screen and set $TEST$ to 600 and click next came to second screen and seeing 400 only instead of 600.
please suggest me the solution
thanks for your reply ,
iam using IA 2008 VP1
explain you my scenario again :
1. First screen : input text box : var : $TEST$ and gave 400
2. set instal anywhere var : $DEF_MODIFY$=$TEST$
3.second screen : inmput text box : var $MODIFY$ and default value : $DEF_MODIFY$
so now first screen i entered 400 so test is set to 400 and second screen will display the value with 400(default value).
now using back button moved to first screen and set $TEST$ to 600 and click next came to second screen and seeing 400 only instead of 600.
please suggest me the solution
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 18, 2009
10:46 AM
Hello,
The goal of setting a variable between both panels is to allow the exclusion of setting "evaluate at assignment", but as you used an other variable, that one is still not excluded.
Instead I would have done:
1. First screen : input text box : var : $TEST$ and gave 400
2. set instal anywhere var : $MODIFY$=$TEST$
3.second screen : input text box : var $MODIFY$ and default value : $MODIFY$
Regards
The goal of setting a variable between both panels is to allow the exclusion of setting "evaluate at assignment", but as you used an other variable, that one is still not excluded.
Instead I would have done:
1. First screen : input text box : var : $TEST$ and gave 400
2. set instal anywhere var : $MODIFY$=$TEST$
3.second screen : input text box : var $MODIFY$ and default value : $MODIFY$
Regards
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2009
04:13 AM
Hello,
It seems like the get user input simple & advanced doesn't play the same with variable !
If you modify your project and use get user input simple, this will work like you expect.
But using advanced user input seems to force the used variable to be "evaluate at assignment".
This looks like a bug, but I did not find any related known issue / comment on this, maybe similar to http://community.acresso.com/showthread.php?t=187077&highlight=user+input+advanced+previous ?
It seems like the get user input simple & advanced doesn't play the same with variable !
If you modify your project and use get user input simple, this will work like you expect.
But using advanced user input seems to force the used variable to be "evaluate at assignment".
This looks like a bug, but I did not find any related known issue / comment on this, maybe similar to http://community.acresso.com/showthread.php?t=187077&highlight=user+input+advanced+previous ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2009
04:22 AM
yes i think it is bug with advanced input and wokting with simply text
anyway thank you
anyway thank you
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2009
03:35 PM
One key piece of information here is the use of the "Back" button.
If on screen A you enter xyz and then on screen B, where a default is what is entered on screen A, then you go "Back" to screen A, enter abc, and then you get to screen B, I am assuming you want to see abc. As designed by IA, you will see xyz. This is because of the way IA sets up the UI.
If on screen A you enter xyz and then on screen B, where a default is what is entered on screen A, then you go "Back" to screen A, enter abc, and then you get to screen B, I am assuming you want to see abc. As designed by IA, you will see xyz. This is because of the way IA sets up the UI.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)