Create Pop up where I can enter some description and click on continue

On click of button , I want a pop up dialog box where I can write some description and then click on Continue.

Please help me here .

Sugar CRM version used : 10.3 Enterprise

  • Hi

    One option would be to use a Drawer. 

    Can you have a look and check if this fits your business scenario? 

    support.sugarcrm.com/.../

  • Yes that is the one option but requirement is have a Dialog box where we can enter some description and click on continue to proceed. 

  • Any help will be appreciated. 

  • Hi

    This description are save in the same record?

  • I would do the next steps:
    Create a check field (the button 1 "action trigger")
    Create other check field (the button 2 "continue process")
    Create the description field (textarea, text or any)
    Add visibility dependency at the field where insert a description & the other check field (the button 2 "continue process")
    Alter the record view adding the 3 new rows, where into firts row you can add the button 1 ( where only show when one condition is true, maybe other visibility dependency)
    The next code alter the render for this field and transform at button:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    array (
    'type' => 'rowaction',
    'event' => 'button:any_name_c:click', // This trigger putting true check field
    'name' => 'any_name_c',
    'label' => 'LBL_ANY_NAME',
    'css_class' => 'btn btn-primary span12',
    'dismiss_label' => true,
    ),
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


    Into second row you can add the description field
    Into third row you can add blank space and second button (the button 2 "continue process")


    When the user click in this second button you handler muts save the record and send a new route otherwise refresh the current page.

    I hope this help you. Cheers.

  • I appreciate your effort. But requirement is to have pop up box only. I didn't get how i can get pop up with above approach .

  • Hi,

    Hope below link would helpful. Create custom view and call that custom on required view page (in js).

    sugarclub.sugarcrm.com/.../adding-a-new-popup-view-in-sugar-7-x-record-view