You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

RightNow Amending PHP Output

Received Response
14
Views
5
Comments
edited Mar 7, 2019 1:39PM in Customer Portal 5 comments

Content

Code

<div class="form-group">
<label for="rn_text_06_<?=$this->instanceID?>" id="text_06_<?=$this->instanceID?>">Was the individual absent from work for: <?php echo $wb_data[17];?></label>
<select class="form-control" name="text_06" id="text_06_<?=$this->instanceID?>" class="form-control">
<option value="--" <?php echo ($wb_data[17]=='--' ? 'selected' : '');?>>-</option>
<option value="Full" <?php echo ($wb_data[17] == 'Full' ? 'selected' : '');?>>The full review period</option>
<option value="Half" <?php echo ($wb_data[17] == 'Half' ? 'selected' : '');?>>50% of the review period</option>
<option value="None" <?php echo ($wb_data[17] == 'None' ? 'selected' :'');?>>None of the above</option>
</select>
</div>
I have posted this here: 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!