Flynet Simulated Host

IfAid Tag

IfAid Tag

Previous topic Next topic  

IfAid Tag

Previous topic Next topic  

The IfAid tag allows simple logic based on the key used to enter the current screen.

 

Generally speaking, the IfAid key is most appropriate in an onInput Script block.  Regardless of where it is used, the IfAid will reflect the last key used to enter a screen in the current session.

 

The IfAid tag's attributes are as follows:

 

Attribute

Default / Required

Description

key

[enter]

Name of the key used to enter the screen.  It is optional to include the square brackets surrounding the key name.  Standard keys names include:

 

[enter], [clear], [pf1]..[pf24], [pa1], [pa2] and so on.

 

Child Tags Allowed:

 

Logic Tags
Action Tags

 


Example:

 

<IfAid key="pf1">

  <ScreenSwitch screen="LogonHelp"/>

</IfAid>