How get File upload Ajax element show in a Form

Hi,

I have a custom template, where I need to render file upload (Ajax) to show. It works OK for first time, but when I try to render another file upload (Ajax) element, the whole layout goes awkward.

My code:

<?php defined('_JEXEC') or die('Restricted access'); ?>

<?php $elements = $this->elements; ?>

<table>
<tbody>
<tr>
<td><?php echo $elements ['Address_Proof']->label; ?></td>
<td><?php echo $elements ['Address_Proof']->element; ?></td> //Ajax File Upload
</tr>
<tr>
<td><?php echo $elements ['DOB_Proof']->label; ?></td>
<td><?php echo $elements ['DOB_Proof']->element; ?></td> //Ajax File Upload
</tr>
<tr>
<td><?php echo $elements ['Verification']->label; ?></td>
<td><?php echo $elements ['Verification']->element; ?></td> //Ajax File Upload
</tr>
-------------------------------------------------------------- end of code here ----------------------------
I have added the screen shot and also mentioned what part is not working.

Any help would be really appreciated.

Best Regards
 

Attachments

  • 1.jpg
    1.jpg
    907.2 KB · Views: 156
Fabrik needs a bootstrap Joomla template and you have to keep the structure of the Fabrik bootstrap form template.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top