Hi there, wondering if anyone can help! I've searched through the forums and tried everything I can think of but can't solve the problem I'm having with MIGX multiple forms.
I'm trying to put together a very simple price list table using MIGX. The list is split into categories, so I want some of the lines in the list to be the category headings and others to be the actual items - so display an item name and an item price.
I thought the best way to do this would be to use 2 forms - one for the heading items and one for the actual prcie list items, the problem is that when I set the form tabs for multiple forms it just doesn't render - just give s blank page (see screenshot):
the JSON I am using is:
[{
[{"formname":"Items", "formtabs":
[
{"caption":"Item", "fields": [
{"field":"itemName","caption":"Price List Item Name","inputTV":"PriceListItemTNameTV"},{"field":"itemPrice","caption":"Price List Item Price","inputTV":"PriceListItemPriceTV"}
]}
]
},{"formname":"Headings", "formtabs":
[
{"caption":"Heading", "fields": [
{"field":"heading","caption":"Section Title","inputTV":"PriceListSecTitleTV"}
]}
]
}]
}]
When just using a single form like so:
[
{"caption":"Item Name", "fields": [
{"field":"PriceListItemTNameTV","caption":"Price List Item Name","inputTV":"PriceListItemTNameTV"},{"field":"PriceListItemPriceTV","caption":"Price List Item Price","inputTV":"PriceListItemPriceTV"}
]}
]
It renders fine (screenshot) -
but not with multiple forms. I really can't ficure out what is happening..
Thanks for you help:
Superchilled