How would you add multiple views.edit.php and then choose it with a create-actions.js? 7.5.x

Hi,

I would like to know how to create multiple views when editing a Lead.

We Got a Lead "prospectos" module that is used in multiple places. I add a relation to another module "user" from which i want to create a new Lead record but i want to add and remove some fields dynamically. Lets say someone add new "prospecto" with the common structure (fields, tabs, etc). But if someone add a new prospecto from my new module "user" i want to show different fields keeping just the related ones, and add some fields that are needed only for the case of "user" module.

Thanks.
Parents
  • Good morning FrancescaS,

    I tried that one yesterday and I't work well for RecordView, but for CreateView didn't. Now I'm going to try again and see how can I adjust it to work for CreateView. 

    Thank you very much!
  • Note that there is create and create-actions, make sure you are in the right one.

    If I remember correctly when creating from the + sign on the top right it uses create, when creating from the module menu or subpanel it uses create-actions (or vice versa).

    FrancescaS

Reply
  • Note that there is create and create-actions, make sure you are in the right one.

    If I remember correctly when creating from the + sign on the top right it uses create, when creating from the module menu or subpanel it uses create-actions (or vice versa).

    FrancescaS

Children
No Data