‎2013 Jul 01 12:51 PM
Dear All,
Can we include code inside the templates of smart forms. If yes please let me know the procedure. I have been searching in the forum but was no able to get info. Kindly Help.
‎2013 Jul 01 1:31 PM
Yes you can include lines of code inside a template in a smartform using the following steps:
‎2013 Jul 01 1:54 PM
‎2013 Jul 01 2:09 PM
Hi Adithya,
1. Right Click on Template name. ( Context Menu will appear)
2. Create (Sub Context Menu will appear )
3. Flow Logic ( Again Sub Context Menu will appear )
4. Program Lines.
You can write the code in Program Lines.
Arun.
‎2013 Jul 01 2:06 PM
Yes we can.
In one of your Window block (Pages and Windows) - Right Click - and after :
Create -> Flow Logic -> Program Lines.
‎2013 Jul 01 2:13 PM
Hi Adithya,
Yes we can include.follow the steps provided by Arun otherwise write the code in initialization tab itself. and just pass the variables here.
Regards,
Gurunath
‎2013 Jul 01 5:52 PM
Hi Adhitya,
Including the code in template means, we can include the flow logic (program lines) above to the defined template and write the that we want (change the variable values etc), and display those values in template text elements. If the code is single time execution code then you can write the same code in Initialization. If the template is placed with in the loop then we can include our flow logic in that loop and change the code/values accordingly and show in the template. There are the possible ways to include the flow logic. May I know what exactly you are looking for.
‎2013 Jul 02 5:36 AM
inside Template
follow steps
1.Right Click - and after :
Create -> Flow Logic -> Program Lines.
2.inside program line
use include <program name>
‎2013 Jul 02 6:37 AM