this is my code....
{% for element in form %}
{% if is_a(element, 'Phalcon\Forms\Element\Hidden') %}
{{ element }}
{% else %}
<div class="form-group">
{% if element.getName() == "name" %}
{{ element.label() }}
{{ toedit.type_name }}
{% else %}
{{ element.label() }}
{{ element.render(['class': 'form-control']) }}
{% endif %}
</div>
{% endif %}
when the element.getName()=="name"; i want to set different value in the form rather than rendering it.......how to do this????