The CreatorCon Call for Content is officially open! Get started here.

make a field visible and mandatory if other field changes values

hadron_collider
Tera Contributor

Hello,

 

 

I am trying to make the field "Reject reason" visible and mandatory to fill in in order to change the status.

 

kata90_0-1704463611188.png

 

 

 

23 REPLIES 23

so here is my current UI Action:

kata90_0-1704493359964.png

 

kata90_1-1704493393349.png

 

 

 

now, when i click "reject" the form closes up and im back on the record list. Any advices?

@hadron_collider ,

 

After current.update() , can you please add

 

action.setRedirectURL(current);

 

Please mark helpful if this helped or accept the solution if it solved your query.

Thanks,

 

I have added: 

action.setRedirectURL(current);

kata90_1-1704494277647.png

 

 

 

Now, when i click 'Reject' nothing happens:

kata90_0-1704494207328.png

 

 

 

@hadron_collider ,

 

Can you try adding, gs.action.setRedirectURL(current);

Was it working before you added the above line?

 

 

Thanks,

 

I have modified it and used gs.action.setRedirectURL(current);

but now i am getting an error:

kata90_0-1704494744019.png