I added code to Page_datarendering on list page to display a modal dialogue that gets user input. It works perfectly on desktops (firefox, chrome), but does not display properly on android tablets. The radio buttons and submit button does not show. Curious if problem with my code or limitation with compatibility with PHPmaker / android tablets:
The message is displayed in page_datarendering on list page via this command:
if ($medicare_message <> "") $this->setFailureMessage ($medicare_message);
This is a snippet from the check_medicare function:
$message = '
<div class="modal-header">
<h1 class="modal-title">Confirm Medicare Status</h1>
</div>
<form role="form" method="POST" action="">
<input type="hidden" name="_token" value="submit">';
$message .= '
<input type="hidden" name="'.EW_TOKEN_NAME.'" value="'.CurrentPage()->Token.'">
<div class="form-group">
<label class="control-label">Does patient have Medicare?</label>
<div class="radio">
<label><input type="radio" name="optradio" value="no"><b>NO: </b>Patient verbally confirmed they <b>DO NOT</b> have Medicare</label>
</div>
<div class="radio">
<label><input type="radio" name="optradio" value="yes"><b>YES: </b>Patient has Medicare.</label>
</div>
<div class="radio disabled">
<label><input type="radio" name="optradio" value="unknown" checked="checked">Did not ask. Check again later.</label>
</div>
</div>
<div class="form-group">
<div>
<button type="submit" class="btn btn-success">Submit</button>
</div>
</div>
</form>