add type to data form record loop
This commit is contained in:
parent
ad914d3a7e
commit
a1e1d93360
4 changed files with 9 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
7.4.7
|
7.4.7
|
||||||
|
- add type variable to Data Form record loop
|
||||||
|
|
||||||
|
|
||||||
7.4.6
|
7.4.6
|
||||||
|
|
|
||||||
|
|
@ -411,7 +411,8 @@ sub getListTemplateVars {
|
||||||
"record.data.name"=>$data->{name},
|
"record.data.name"=>$data->{name},
|
||||||
"record.data.label"=>$data->{label},
|
"record.data.label"=>$data->{label},
|
||||||
"record.data.value"=>$value,
|
"record.data.value"=>$value,
|
||||||
"record.data.isMailField"=>$data->{isMailField}
|
"record.data.isMailField"=>$data->{isMailField},
|
||||||
|
"record_data_type" => $field->{type},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$dloop->finish;
|
$dloop->finish;
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,8 @@ our $HELP = {
|
||||||
{ 'name' => 'record.data.name' },
|
{ 'name' => 'record.data.name' },
|
||||||
{ 'name' => 'record.data.label' },
|
{ 'name' => 'record.data.label' },
|
||||||
{ 'name' => 'record.data.value' },
|
{ 'name' => 'record.data.value' },
|
||||||
{ 'name' => 'record.data.isMailField' }
|
{ 'name' => 'record.data.isMailField' },
|
||||||
|
{ 'name' => 'record_data_type' },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -726,6 +726,10 @@ below to see which template variables may be used inside this loop.|,
|
||||||
lastUpdated => 1149392138,
|
lastUpdated => 1149392138,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'record_data_type' => {
|
||||||
|
message => q|The data type associated with this field.|,
|
||||||
|
lastUpdated => 1189713018,
|
||||||
|
},
|
||||||
'24' => {
|
'24' => {
|
||||||
message => q|Possible Values|,
|
message => q|Possible Values|,
|
||||||
lastUpdated => 1031514049
|
lastUpdated => 1031514049
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue