Hi
I've now figured out how to create Repeatable Forms. Next Issue is, i am not able to bring the Save / Update Function of a "repeatet Form" to Work.
I hope i am missing just spomething simple, unfortunately i was not able to debug before save (?) like "show me what we try to save"
DB Structure:
aio_packs --> contains all Packages (Master)
aio_equipment --> contains all Equipments
aio_package_equipment --> Defines which Equipment should be listed inside which package and the amount (once, twice and so on)
A Repeater View contains the form with the fields for ID, Amount, Text Identifier (read Only), Update and Delete Button
to display a value in the form field for the actual amount i added this into the Value field: {var:repeater_equipment_edit_view.row.Data.equipment_amount}
Field names are: "Data[id]" "Data[equipment_amount]"
Save Button has its own ID : "button_{var:repeater_equipment_edit_view.row.Data.id}"
The form looks actualy like that (inwork):

The Problem now is, the Save function can't handle the inputs, nothing happens on the DB on Save. Data Provider is set to {data:Data}
Second: for some reason it reloads all "Amount-Fields" with the changed value, but just in the view, nothing on the db.
I have also created another view called simple_edit (just to check if the save function works) - this one saves a new entry in the db (which i think is ok because there are no related data informations for ID on form load).
i've attached the SQL and a Backup aswell.
Please be kind, its still "work in progress" :-)[file=10114]All_in_One_Packages_20_Feb_2018_17_48_37.c6bak[/file]
[file=10115]Aio_Packs.sql.zip[/file]
Thx for your feedback & sorry for the long Post
I've now figured out how to create Repeatable Forms. Next Issue is, i am not able to bring the Save / Update Function of a "repeatet Form" to Work.
I hope i am missing just spomething simple, unfortunately i was not able to debug before save (?) like "show me what we try to save"
DB Structure:
aio_packs --> contains all Packages (Master)
aio_equipment --> contains all Equipments
aio_package_equipment --> Defines which Equipment should be listed inside which package and the amount (once, twice and so on)
A Repeater View contains the form with the fields for ID, Amount, Text Identifier (read Only), Update and Delete Button
to display a value in the form field for the actual amount i added this into the Value field: {var:repeater_equipment_edit_view.row.Data.equipment_amount}
Field names are: "Data[id]" "Data[equipment_amount]"
Save Button has its own ID : "button_{var:repeater_equipment_edit_view.row.Data.id}"
The form looks actualy like that (inwork):

The Problem now is, the Save function can't handle the inputs, nothing happens on the DB on Save. Data Provider is set to {data:Data}
Second: for some reason it reloads all "Amount-Fields" with the changed value, but just in the view, nothing on the db.
I have also created another view called simple_edit (just to check if the save function works) - this one saves a new entry in the db (which i think is ok because there are no related data informations for ID on form load).
i've attached the SQL and a Backup aswell.
Please be kind, its still "work in progress" :-)[file=10114]All_in_One_Packages_20_Feb_2018_17_48_37.c6bak[/file]
[file=10115]Aio_Packs.sql.zip[/file]
Thx for your feedback & sorry for the long Post