- Joined
- Nov 10, 2019
- Messages
- 3
- Points
- 3
Reputation:
Hello,
I want run custom user field macros manually. Let's look this macro.
My custom user field ID is "onlinemodal1" and what should I do for this variables?
And just a note, I want show checked input for user.
Second note, I'm using iO theme.
If I learn fill variables with my custom user field ID, I guess I can doing this for all macros. ?♂️
I want run custom user field macros manually. Let's look this macro.
HTML:
<xf:macro name="custom_fields_edit_radio" arg-set="!" arg-definition="!" arg-editMode="!" arg-namePrefix="custom_fields">
<xf:radio name="{$namePrefix}[{$definition.field_id}]"
value="{{ $set.{$definition.field_id} === null ? '' : {$set.{$definition.field_id}} }}"
required="{{ $definition.isRequired($editMode) ? 'required' : '' }}"
class="field_{$definition.field_id}"
listclass="listColumns">
<xf:if is="!$definition.isRequired($editMode)">
<xf:option value="">{{ phrase('no_selection') }}</xf:option>
</xf:if>
<xf:options source="$definition.field_choices" />
</xf:radio>
</xf:macro>
My custom user field ID is "onlinemodal1" and what should I do for this variables?
And just a note, I want show checked input for user.
Second note, I'm using iO theme.
If I learn fill variables with my custom user field ID, I guess I can doing this for all macros. ?♂️