'<field name="id_'.$filter_record['id'].'_hourfrom" type="integer"
label="from" description="Delivery Hour Range"
size="'.$filter_record['holdout'].'"
maxlength="20"
required="true"
class = "hourfrom"
first = "1"
last = "'.$filter_record['list_limit'].'"
step = "1"
filter="user_utc" />
I have this code above which dynamically generates input fields in the view using XML. The problem is that I want to add a custom attribute so I can use it in javascript processing.
for example: value_type = "single"
When I try to add this in the code above, in the processed page, it is not displayed, and I cannot also get the attribute.
Is there a proper way to do this?