Skip to main content
Nintex Community Menu Bar
Solved

Smartforms

  • September 10, 2018
  • 2 replies
  • 14 views

I have set up a smartform which populates with users details, Name, telephone, and email when the form is initially opened. Can anybody advise if there is a way that these user details can be automatically saved when the form is first opened. At the the moment it is only saved when the user completes the rest of the form is completed and is saved.

 

Many thanks

 

Andrew

Best answer by JeanSmit1

Hey Andrew,


 


Should definately be possible, i would look into the Initialize rule:


https://help.k2.com/onlinehelp/k2five/userguide/5.1/default.htm#Create/K2Designer/Rules/RuleEvents.htm%3FTocPath%3DCreate%7CSmartForms%7CForms%7CRules%7C_____3


 


Once the form opens the Initialize rule will execute, so in this Rule add an Action that calls the SmartObject's Create Method.


In your scenario it seems that you will have to set the Rules as follows:


 


When form is Initializing


         then [Rule to Load User Details]


         then [Rule to save user details to SmartObject]


 


-Jean

2 replies

Forum|alt.badge.img+9
  • Answer
  • September 10, 2018

Hey Andrew,


 


Should definately be possible, i would look into the Initialize rule:


https://help.k2.com/onlinehelp/k2five/userguide/5.1/default.htm#Create/K2Designer/Rules/RuleEvents.htm%3FTocPath%3DCreate%7CSmartForms%7CForms%7CRules%7C_____3


 


Once the form opens the Initialize rule will execute, so in this Rule add an Action that calls the SmartObject's Create Method.


In your scenario it seems that you will have to set the Rules as follows:


 


When form is Initializing


         then [Rule to Load User Details]


         then [Rule to save user details to SmartObject]


 


-Jean


  • September 10, 2018

Hi Andrew,

 

Great question. I've done this sort of thing before.

 

You'll want to add a rule called, "Execute another rule" when the View/Form loads (i.e., Initialized). It would look something like this: