Skip to Content
author's profile photo Former Member
Former Member

Disabling button on pop up inVC 7.0 EHP1

Hi

I am working on Visual composer 7.0 EHP1 SP8.

I have a requirement where user clicks on the button"Choose pop up" and on the click a pop opens up.

There is a close button on pop up ,which closes the pop up and the control comes back tothe original window.

I am able to get this first part properly but the further requirement is when use clicks on close and comes to the original window ,the button "choose pop up " should turn disabled.

Any pointers around ?

Regards

Shweta

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2011 at 03:16 PM

    I would set a flag in store as popup_choosed, with default value as false. I would assign true value to it only when pop up is closed (ie., in the action of close button of popup). So as soon as pop up is closed this flag will be set to true.

    Based on this flag value, I will make enabled condition for choose pop up button. (In the lay out view, choose your "Choose pop up" button. go to Configure (by right click or left side panel), find Enabled button. and put =!store@popup_closed or put if condition. )

    Hope this helps you,

    Regards,

    Vinay

    Edited by: Vinay Joshi on Apr 21, 2011 8:48 PM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.