Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

SessionVar for Package Selection by Radio

$
0
0
Can anyone tell me what am I doing wrong here?
Code:
-- These actions are performed when the Next button is clicked.
-- Tip: this is where you could add actions to validate the
-- user's input before proceeding

if SessionVar.Set("%RadioSelection%", "CTRL_RADIO_BUTTON_01") then
SetupData.SetPackageProperties("Package01", {Install=true});
elseif SessionVar.Set("%RadioSelection%", "CTRL_RADIO_BUTTON_02") then
SetupData.SetPackageProperties("Package02", {Install=true});
end

-- advance to the next screen
Screen.Next();
I have created 2 packages with "Package01" and "Package02" ids, then I insert Radio Button in Screens and put above codes "on Next " Action under Screen Properties but this is not working for me.

Viewing all articles
Browse latest Browse all 2105

Trending Articles