Hi,

Premise:
I am not a coder.

Anyhow, while trying to customize tempates/tpl_account_edit_default.php at line 68 (v 1.54)
PHP Code:
<?php echo zen_draw_input_field('customers_referral'''zen_set_field_length(TABLE_CUSTOMERS'customers_referral'15), 'id="customers-referral"'); ?>
I added a class to the field like this
PHP Code:
<?php echo zen_draw_input_field('customers_referral'''zen_set_field_length(TABLE_CUSTOMERS'customers_referral'15), 'text id="customers-referral" class="form-control"'); ?>
and it would not behave like the other fields, when inspecting in firebug I noticed it reported the source like this
<input type="id=&quot;customers-referral&quot; class=&quot;form-control&quot;" maxlength="32" size="16" value="" name="customers_referral">
so it appeared to me that the
Code:
type"text"
is not outputted correctly; when I corrected the line like this
PHP Code:
<?php echo zen_draw_input_field('customers_referral'''zen_set_field_length(TABLE_CUSTOMERS'customers_referral'15) . 'id="customers-referral" class="form-control"'); ?>
it seems to be outputted correctly, and the styling is working fine.

In case it is hard to notice I changed the , (comma) after 'customers_referral', 15) to . (period)

Is that an error, or am I messing things up?

Thank you