AnsweredAssumed Answered

Toggle button

Question asked by tays01s on Sep 2, 2014
Latest reply on Jun 11, 2015 by tays01s

Title

Toggle button

Post

I'm using a button in a portal row to change the value of a field between 0 and 1. However, I find that the script written causes every row to change:

Perform Script [ “Select Activity_date_activities” ]

Set Field [ Activity_dates::Add_date; Case( Activity_dates::Add_date=1;0; Activity_dates::Add_date=0;1
)]

I've tried using an 'if' in the script to ensure it only acts on the selected row (

Perform Script [ “Select Activity_date_activities” ] ) but that didn't work.

 

 

Outcomes