gcore question

Remove automatic div wrappers from a GCore form element.

Overview

The GCore formLine helper automatically generates HTML with div containers.
Use the Html::input or Html::formInput helper instead of Html::formLine to output the form element without the surrounding divs.

Answered
id ideagrup 01 Apr, 2015
I have a dropdown filter and its running OK

BUT this instruction GCORE -- echo \GCore\Helpers\Html::formLine($field["name"], $field);

puts this html

<div class="form-group gcore-form-row" id="form-row-"><div class="gcore-input gcore-display-table" id="fin"><select name="fltr[informacion_adicional][ia_id]" id="" size="" class="form-control A" title="" style="" data-load-state="" data-tooltip="">
<option value="">Información Adicional</option>
<option value="2">Otras</option>
<option value="3">Información sobre acuerdo comunidad autónoma</option>
<option value="1">Altres</option>
</select></div></div>


The problem is: I can't control DIVS --> i dont want DIVS

Is posible to create a new "GCORE formline" without DIVS
and what place can I do it,

Thanks
Max_admin Max_admin 06 Apr, 2015
Answer
Hi ideagrup,

Please try Html::input or Html::formInput

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
id ideagrup 07 Apr, 2015
Perfect, is running OK

Thanks Max

Thomas
This topic is locked and no more replies can be posted.