anon-cool
|
Posted: 05/17/2005, 7:27 AM |
|
First off, wouldn't it be great if I can logically add a value to a control. Like, if session.Name exists then assign to control if not and url.name exists assign that?
Now I know you can add custom code to do that, but wouldn't it be nice if this was an action "control logic flow"
Here goes, I select some text/controls.. in design mode and put a "If "logic block around it.
Then I define that "if "logic block in a popup wizard window similar to the database source control for creating select queries.
The window conists of a source type, source name and an operand, the ability to put parenthesis around, create "and" "or " with additional logic checks, line by line.
e.g.
IF:
line 1:
source control: POST
source name: textbox
operand: not equal to
source control: expression
source name: ""
line 2:
connector: AND
function container: isset
function operand: false
source control: POST
source name: textbox
If the above was valid then the encapsulated text/code within the "if" block would be executed/displayed
Neat right?
|
|
|
|