⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How to build this



holmesii

holmesii
  • profile picture
  • Member

Posted 13 June 2018 - 19:45 PM

I am very new to GroceryCrud, but I have been reading and coding for a couple of month with PHP. I'm having a problem to build a CRUD form like this, Can some one help me to give me general guidance and eventually help me out to finish the function? Thank you in advance!

 

Here is the final style I need. I need dynamically add the target. A similar example in bootstrap is here: https://bootsnipp.com/snippets/AXVrV

 

The final style would be like this:  [attachment=1305:17BD684F-4049-4CB3-B37C-128652FA28DD.png]

 

I'm not sure which function or Table design I should use, or which one is better for my need. The first one is set_n_n_relation so I would have 3 tables and join them from the map table. [attachment=1306:273D30BF-AC0D-4CC4-8E3E-2D01D2B21ACF.png]

 

The second one is set_relation so that I only have two tables. ( I have no idea that I cannot post the third picture). Please see the picture from google drive. 

https://drive.google.com/file/d/1b6sCXlz02IO_I-WEMuk2WS4LHrXtzeRr/view?usp=sharing