[eluser]RJ[/eluser]
Hello,
I've built a custom form that will display the fields based on a config file. Using CI's form validation I need to include
Code:
<?= $this->lang->line('.$key.') ?>
In a variable and have it be processed in the view. Presently CI is stripping the "<?". First is it possible, second any thoughts on a fix?
Code:
$templ[$key] = ' <div class="oneField">
<label for="'.$key.'" class="preField"><?= $this->lang->line('.$key.') ?>:</label>
<input type="text" id="'.$key.'" value="" name="'.$key.'" class="required" >
<span class="reqMark">'.$print.'</span></div><br />';
}