Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
rheinerk

Awaiting Email Confirmation
Registered:
Posts: 18
Reply with quote  #1 

Hi All,

 

Is there a way to change the visibility of a field by using Client Side Script or Server Side? JSCRIPT/C#?

 

Cheers

0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #2 
There are many ways. The easiest is to have a checkbox, and set visibility of a field to that checkbox. The checkbox itself can be set using a Client script, or a variable linked to the checkbox can be set by a server C# script, or it could be a calculated value. For server side to work, the field must be set to 'is dependent'.

__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
rheinerk

Awaiting Email Confirmation
Registered:
Posts: 18
Reply with quote  #3 

Hi Jerome,

 

Ok so I would have the following to set the Checkbox:

 

function SetCheck()

{

setField("Check1", "","True");

}

 

And the text field, I would have the property 'Visibility Depends On' set to Check1.

Is this correct?

0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #4 
Give it a go ....

__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
rheinerk

Awaiting Email Confirmation
Registered:
Posts: 18
Reply with quote  #5 

Thanks Jerome, this worked

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!