Create a variable with the name of the input variable property instead of Var1


When I copy an input from one webblock or screen to another webblock or screen there is an error because the variable linked to the input does not exist.

Now I can choose to create the local variable with the option"(New Local Variable)" 

The variable will have the name Var1 (Unless there is already a Var1 of course :) )

Why not give the name from the Input variable property, so I the example above the name Locale?

Just like when you copy a button and the action is not there.

Now  create the action with the option "(New Screen Action)"

 The screen action is now created with the Name "PerformSearch" and not with the name "Action1".

Created on 14 Dec 2018
Comments (5)

Changed the category to Frontend

I like the idea very much.
But why not copy the variable altogether if it is a local variable? 

Ofcourse it's beter to do that but there are situations you forget one because there are a lot of local variables for example

No. I meant that when copying the input bring together the variable, automatically :)
In any case, I think that set automatically the name of the new variable (and data type) is a very nice idea :)

Yes that would be nice too!