Expand my Community achievements bar.

Script object question

Avatar

Former Community Member

Hi all,

I have a formcalc script to validate a group of checkboxes but have several groups of these to validate in a single form.

So I was thinking it might help to make it a script object and call it rather than copy/edit the same script to an event in each subform containing the checkbox group.

Well, it apprears that you cant change the language to formcalc in the script object. Is that correct or is there some setting or trick I'm missing in order to do this?

Thanks!

1 Reply

Avatar

Level 10

Hi,

You are right, script objects can only be in JavaScript.  Maybe you could look at using a fragment, there a tutorial on fragments here, LiveCycle Designer ES form fragment tutorial | Adobe Developer Connection

Regards

Bruce