This content has been marked as final. Show 4 replies
Hmm.1 person found this helpful
What I have done is to define a radio group page item (:P3_BEVERAGE) with "DISPLAY EXTRA VALUES" set No and "DISPLAY NULL VALUE" set No. List of values definition is STATIC2:COFFEE;COFFEE,TEA;TEA,NA;NA
Then I have a Before Header process (SET_BEVERAGE_VALUE) to set the default value:
Does that help?
Begin IF :P3_BEVERAGE IS NULL THEN :P3_BEVERAGE := 'NA'; END IF; End;
You can set default value to radio group also from setings item page under the default option. There you must put result value (if you have static:Coffee;A, Tea;B, NA;C you write C if you want NA for default choice) of your radio item.
The effect of using the process code to set the value versus using the default value of the page item, as I understand it, would be that the process would place the value into the session state while the default value is not placed into the session stage until after page submit. So, you have a choice of methods depending on what you want to happen.