Record from one section to be automatically copied to a new record on another section

2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 11, 2016   (RSS)

By andreasml - May 10, 2016

Hi

I have a section named "General Data" which includes some basic data regarding patients (patient id, name, date of birth, type of treatment). I have also created different sections, each one for a different type of treatment (Treatment A, Treatment B, etc) which includes the previous details (patient id, name, date of birth, type of treatment) but also other specific details regarding this type of treatment.

How can i make CMSB to insert the data typed in the "General Data" section for a patient, into the relevant Treatment table, automatically? In other words, when the user completes the creation of a new record in the "General Data" section by pressing the Save button, then these data will be inserted in a new record in the relevant fields of the relevant Treatment section. Ideally, these initial basic data should not to be possible to be modified by the user, except from the Administrator

Any help would be much appreciated

Andreas ML