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

Parents Reply
  • 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:

            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, 
                  ),


    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.

Children