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
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 Gautam Sharma,
One option would be to use a Drawer.
Can you have a look and check if this fits your business scenario?
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.
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.
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 .
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 .