10 years ago
4
Topic
Hi,

I am trying to create an order form using SEBLOD, but I can't get SEBLOD to create multiple entries for product selected.
I have used Select Dynamic and pull products from product table.
order details can contain up to 20 items but when I Submit the order, all product_id are saved in the single product_id field in the DB. I want to create as many rows as item in the card. How can i do that.
Basically, I want to know how to use seblod form to insert many rows at the time in Mysql table.

Thank you.

Get a VIP membership
10 years ago
3
Level 1
Help please I am stuck in the middle of my project and can't get help anywhere else.

116 Posts
nycxav
10 years ago
2
Level 2
I think what you probably want to do is use the GroupX field. You can create one field that users can repeat in the same form.
I have a similar issue except that what I want is another content type repeated multiple times. I haven't figured out how to do that yet in one single form.
I tried to create two content types and a module for content type 2 form and I can publish the form on a content display, but unfortunately not on a form.
Anyone has any idea?
Thanks.
10 years ago
1
Level 3
Thank you for your answer. I have tried Group X but not only it doesn't allow me to set the form the way I want it, it will also save the group in 1 raw. not multiple rows.
178 Posts
Jeka
10 years ago
0
Level 4
FieldX and GroupX are using seblod style in DB, and i think there is no easy way to change it.
Get a Book for SEBLOD