You are viewing limited content. For full access, please sign in.

Question

Question

Server side code in script section of the form

asked on January 22, 2014

I am working on asp.net application and have some server side code. I want to call that code when user hits submit in LF form. I have LF form in the foreground. Is there a way to put server side code in script section of the form? Also how do I debug the code if I put it in the script section?

 

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on January 22, 2014

All of the code on the Script page (in Forms 9.0, called CSS and JavaScript in 9.1) runs client-side. You cannot run server-side code from this page.

 

As for debugging this code, each of the popular internet browsers has its own JavaScript debugger. Firefox, for example, uses the Firebug plugin.

1 0

Replies

replied on January 22, 2014

We will consider adding the ability to run server-side code in the future especially if there is a high demand for it but right now the functionality doesn't exist.

1 0
replied on January 22, 2014

Thanks

0 0
replied on May 2, 2018

Has there been any push to add server side code to Forms since this post was made?

0 0
replied on May 16, 2018

I believe when this post was created we didn't have the ability for Workflow to send information back to Forms and start processes.  With the addition of that functionality we felt that Workflow could perform the server side code necessary for most processes and set variables with the appropriate values from the calculations performed.  In the future we will continue to make Workflow and Forms more tightly coupled so you can design your process within one application.   

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.