When you define more than one event for a control please remember that the actions are executed from the top down and all processing effects of an action in the list will complete before the next action. Depending on what you need to do you may apply conditions using the Display:Apply conditions action that evaluates conditions on the client; or you may use the visible when rule on the section properties to not make a section visible based on certain conditions.
1. You should be able to do this when you click on the cell properties and go to Actions tab, then Add an event and you will have options to add one or more actions, further you are able to make the actions conditional--see screenshot below.
Please provide additional clarification on your point number two if needed-context is not clear
Yes, that particular action I used as an example does not have parameters and is simply applying a conditional display. But please investigate the many other options available. For another example there is a Display Refresh section option is not only conditional but has parameters to allow you to apply a transform rule or an activity to display information on the clipboard. See below:
I just wanted to point out your question is in reply to a thread last active in 2015. It's possible you'll get a reply, but to increase your chances I'd recommend creating a new post detailing the issue you are trying to troubleshoot.
To implement conditional based actions on button click, you need to have two buttons with visible when conditions set. Visible when condition should be based on "some condtion" from activity and for each button specify what actions needs to be performed seperately. For first button, set only "Excute activity" and for second button, Set both, "execute" and "refresh", visible when condition should display only one of these buttons.
I running through a similar issue where events are fired even though there are validation errors like missing required fields on the forms. Not all events have When conditions. In case if i want to do a "Run a script" it doesn't have a when condition. i want to stop that event conditionally. how can i achieve it?
Conditions — Restrictions, such as When rules, that can be applied to an event and action combination. For example, you can configure conditions so that hovering over a field displays ShowInfo only if the field contains a property value. Using when conditions, you can combine behaviors for a single control. For example, a first behavior states that when the user focuses on the Input Area, the system sets the background color to red (defined in the Inline Style field) if the area is populated. A second behavior states that, for the same event, the system sets the background color to blue if the area is empty. Buttons do not use behavior conditions. Use the Disabled or Privilege fields in the Options area to determine whether the button is available to specific users. You cannot use conditions with Action control types — use the Disabled,Privilege, or both settings in the Optionsarea.
I noticed that the original post is from 2015 and the last activity was a few months ago. We recommend that you create a new post with your use case and replication scenario so that you get more up-to-date and quick responses.