Array
(
[MIGX_id] => 3
[description] => Manual ( pdf ) some text here
[size] => 13.64
[language] => English
[file] =>
[_alt] => 0
[_first] => 1
[_last] => 1
[idx] => 1
)
<div class="x-form-element modx-tv-form-element">
<input type="hidden" id="tvdef1" value="">
<input id="tv1" name="tv1" type="hidden" class="textfield" value="[{" tvtype="migx" migx_id":"1","title":"test","description":"","image":"milowstp61884.jpg","image2":"assets="" images="" layout1.jpg","date":"","placeholder":"","file":"assets="" _m6x2279.jpg"},{"migx_id":"2","title":"test","description":"","image":"milowstp61885.jpg","image2":"assets="" __cs2263.jpg","date":"","placeholder":""}]"="">
<div id="tvpanel1" style="width:650px">
you need just to create a file-TV without any template-binding.
name it for example 'manualfile' and use this TV for the file-field like that:
[{
"caption":"Product",
"fields": [{
"field":"product_key",
"caption":"Key"
},{
"field":"product_title",
"caption":"Title"
},{
"field":"product_description",
"caption":"Description"
},{
"field":"product_price",
"caption":"Price"
},{
"field":"product_image",
"caption":"Image"
},{
"field":"product_atp_price",
"caption":"ATP price"
},{
"field":"sku_key",
"caption":"Internal key",
"description": "The value from system X"
}]
}][{
"caption":"Product",
"fields": [{
"field":"product_key",
"caption":"Key"
},{
"field":"product_title",
"caption":"Title"
},{
"field":"product_description",
"caption":"Description"
},{
"field":"product_price",
"caption":"Price"
},{
"field":"product_image",
"caption":"Image",
"inputTV":"image"
},{
"field":"product_atp_price",
"caption":"ATP price"
},{
"field":"sku_key",
"caption":"Internal key",
"description": "The value from system X"
}]
}][{
"caption":"Product",
"fields": [{
"field":"product_key",
"caption":"Key"
},{
"field":"product_title",
"caption":"Title"
},{
"field":"product_description",
"caption":"Description",
"inputTV":"product_description"
},{
"field":"product_price",
"caption":"Price"
},{
"field":"product_image",
"caption":"Image",
"inputTV":"product_image"
},{
"field":"product_atp_price",
"caption":"ATP price"
},{
"field":"sku_key",
"caption":"Internal key",
"description": "The value from system X"
}]
}]This discussion is closed to further replies. Keep calm and carry on.