customization in create lead form

I want to customize  create lead form.

I have added a check box on the bottom of Primary Address.

then my task is:-

If that check box is enable then Alternate Address  is show otherwise Alternate Address is hidden.

I am not able to get the file in which file i have to change . Please suggest me.

Parents
  • Hi Kushank Jain

    You should do it in create-actions.js. The path should be something like /custom/modules/Leads/clients/base/views/create-actions/

    this.model.on('change:name_of_checkbox', this.name_function_with_functionality, this);
    

    Hope it helps

Reply
  • Hi Kushank Jain

    You should do it in create-actions.js. The path should be something like /custom/modules/Leads/clients/base/views/create-actions/

    this.model.on('change:name_of_checkbox', this.name_function_with_functionality, this);
    

    Hope it helps

Children