amittripathi2k2
Member
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
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