#How to make a button factory that starts at a certain collection index
1 messages · Page 1 of 1 (latest)
detect collection index and use conditions to not show elements behind that index
not (#collection_index < 5)
#visible
{
"binding_type": "collection_details",
"binding_collection_name": "form_buttons"
},
{
"binding_name": "#collection_index",
"binding_type": "collection",
"binding_collection_name": "form_buttons"
},
{
"binding_type": "view",
"source_property_name": "(not (#collection_index < 5))",
"target_property_name": "#visible"
}
This will make all buttons with index smaller than 5 invisible hence, it'll start at 6 (You have to put something like that in your button)