How to update an intermediate table that contains extra fields?

Issue #152 new
Erwin Warrinnier created an issue

Is it possible to update an intermediate table that contains apart from FK Id's also extra fields? And if so, how can you do it … by means of sample code.

Suppose you have Member and Training that relate in a many-to-many fashion, using a TrainingAttendee intermediate Table. Therein some extra fields are added (eg. hasLunch, needsParking, …) that need to be updated from a “Registration Page”.

Please share some sample code that realises this both on “new registration” and on “edit registration”.

Comments (1)

  1. Log in to comment