marcq
Member
Hi,
I have got a problem with a placeholder ({gprh_fabrik_user_enrollment___civilite}) in my PDF template which is returning the value (1,2,3) instead of Mme, Mlle or Mme by printing.
The concerned element is a dropdown Element.
I have tested with {gprh_fabrik_user_enrollment___civilite_raw} and {gprh_fabrik_user_enrollment___civilite} and I always get the value returned.
Could it be because I have in my Suboption ? "0" value ? :
Thanks in advance for your support,
Cheers,
Marc
PS: this thread follows the following closed thread : http://fabrikar.com/forums/index.ph...df-library-to-generate-pdf-query-issue.42962/
I have got a problem with a placeholder ({gprh_fabrik_user_enrollment___civilite}) in my PDF template which is returning the value (1,2,3) instead of Mme, Mlle or Mme by printing.
The concerned element is a dropdown Element.
I have tested with {gprh_fabrik_user_enrollment___civilite_raw} and {gprh_fabrik_user_enrollment___civilite} and I always get the value returned.
Code:
// No direct access
defined('_JEXEC') or die('Restricted access');
$form = $this->form;
$model = $this->getModel();
echo '<div class="fabrikForm fabrikDetails" id="' . $form->formid . '">';
echo $this->plugintop;
echo $this->loadTemplate('buttons');
echo $this->loadTemplate('relateddata');
?>
<head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"></head>
<div id="container">
<div id="content">
<table style="font-family: arial, helvetica, sans-serif; font-size: 11pt; width:100%;">
<tbody>
<tr>
<td width="55%" colspan="2"><img class="pull-left" src="http://www.webamazingapps.com/projects/gprh.ch/images/GPRH/GPRHformation.jpg" alt="" width="188" height="76" /></td>
<td width="45%"></td>
</tr>
<tr>
<td width="55%" colspan="2"></td>
<td width="45%">
<div> </div>
<div> </div>
<div> </div>
<div>{gprh_fabrik_user_enrollment___civilite_raw} {gprh_fabrik_user_enrollment___nom} {gprh_fabrik_user_enrollment___prenom}</div>
<div>{gprh_fabrik_user_enrollment___rue_numero}</div>
<div></div>
<div>{gprh_fabrik_user_enrollment___np} {gprh_fabrik_user_enrollment___localite}</div>
</td>
</tr>
</tbody>
</table>
Could it be because I have in my Suboption ? "0" value ? :
Thanks in advance for your support,
Cheers,
Marc
PS: this thread follows the following closed thread : http://fabrikar.com/forums/index.ph...df-library-to-generate-pdf-query-issue.42962/
Last edited: