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

Server side equivilent of g_form

jared_wentzel
Kilo Contributor

A simple business rule I was creating didn't work and I found out the g_form.setValue function I was using is only client side. Is there a server side equivalent? What would I need to do to get this business rule to work?? (See attached)

SN_FCR.JPG

8 REPLIES 8

kris10
Giga Contributor

current.u_fcr = true;



or



current.setValue('u_fcr', true);


I tried both but had no luck.


Depends on your settings for when and what you have for checked for Insert and Update



If it is after then you need to add a current.update()


if it is before then it is good



Check the options for Insert and Update are correct


Looks like it works perfectly when I use the before insert rather than after. Thank you!