Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Initialize Event


Level 5

The initial event of my form seems not to work.

I do this javascript for a test :"test");

I try this script in an other new form and it works fine.

I delete all the components and script of my first form but the event still doesn't work.

My form properties :

Language : javascript run at server

Preview : Interactive Form, Xml Dynamic Form

Any help will be appreciated.

3 Replies


Level 10
If you run at server the messagebox has no where to display. If you want to test to see if server calcs are running then put the message into a visible field.


Level 5
Ok thanks :P,

The real script I want to use is form1.mysubform.presence = "hidden";

It works run at client but not if I run it at server. If I use my form in a worklow, I need to run the script at server or at client ? I will test that. Thank you again Paul to take time to answer my silly questions :).


Level 10
Remember that not all of the events will run server side it possible that the event that you have chosen is not sunning server side? You can verify it by putting a value in a field on the event and if the field shows up and is populated than you know the server side script ran. Also if any errors are produced by your script they will appear in the system log.