SlideShare a Scribd company logo
1 of 12
Nintex Forms on O365
Auto populate Nintex form fields with a check box
By Larry Saytee – SharePoint Consultant
Create form, adding the following fields to the “Title”;
1. Outbound Departure – a single line text
2. Outbound Arrival – a single line text
3. Same as Inbound – a tick box (Yes/No)
4. Inbound Arrival – a single line text
5. Inbound Departure – a single line text
For each form field control settings;
For Outbound Departure, Click the “Advanced”
setting, Select Yes from the dropdown for Store
Client ID in JavaScript variable.
In the Client ID JavaScript variable name, I entered
and assigned “varOutboundDeparture” as the
variable name. Leave everything else the same.
For each form field control settings;
For Outbound Departure, Click the “Advanced”
setting, Select Yes from the dropdown for Store
Client ID in JavaScript variable.
In the Client ID JavaScript variable name, I entered
and assigned “varOutboundArrival” as the variable
name. Leave everything else the same.
For each form field control settings;
For Outbound Departure, Click the “Advanced”
setting, Select Yes from the dropdown for Store
Client ID in JavaScript variable.
In the Client ID JavaScript variable name, I entered
and assigned “varSame” as the variable name.
Leave everything else the same.
For each form field control settings;
For Inbound Departure, Click the “Advanced”
setting, Select Yes from the dropdown for Store
Client ID in JavaScript variable.
In the Client ID JavaScript variable name, I entered
and assigned “varInboundArrival” as the variable
name.
Make sure the “Not connected” dropdown option
is selected for the “Connected to” setting. Leave
everything else the same.
For each form field control settings;
For Inbound Departure, Click the “Advanced”
setting, Select Yes from the dropdown for Store
Client ID in JavaScript variable.
In the Client ID JavaScript variable name, I entered
and assigned “varInboundArrival” as the variable
name.
Make sure the “Not connected” dropdown option
is selected for the “Connected to” setting. Leave
everything else the same.
Now, in the form settings add the following JavaScript;
To add JavaScript to Nintex Forms, from the
Form editor click the Settings button in the
Ribbon and then expand the Custom JavaScript
section at the bottom.
NWF$('#' + Same).click(function(){
var checkBox = NWF$('#' + varSame);
if (checkBox.is(':checked') == true){
var OutboundDeparture = NWF$('#' +
var OutboundDeparture).val();
var OutboundArrival = NWF$('#' +
var OutboundArrival).val();
NWF$('#' + varinboundArrival).val(outboundDeparture);
NWF$('#' + varinboundDeparture).val(outboundArrival);
}
else
{
var nullValue = '';
NWF$('#' + varInboundArrival).val(nullValue);
NWF$('#' + varInboundDeparture).val(nullValue);
}
});
For each form field control settings;
Nintex Forms uses a copy of the jQuery library that
you can access through NWF$. So just adding
SPServices to your form’s page won’t work, but
since jQuery is already there it’s fairly simple to get
it all hooked up through NWF$.
Finally, it’s time for testing. Testing is as follows;
1. Enter data for Outbound Departure and
Outbound Arrival fields
2. Check the Tick box, the result should be
3. Uncheck the Tick box, the result should be
Testing the form
Outbound Departure Airport and Outbound Arrival
Airport with “Same as Inbound”: Unchecked
Testing the form
Inbound Departure Airport and Inbound Arrival
Airport with “Same As Inbound”: Checked
Larry Saytee (BSc)
Email: larry.Saytee@email.com
Tel.: 07791842745
Used in this Presentation
• SharePoint Server
• SharePoint Online (and O365)
• Nintex on O365
• jQuery
Click here to find out more about Larry Saytee on LinkedIn

More Related Content

More from Larry Saytee

Meeting Room System - (v3 [presentation]).pptx
Meeting Room System - (v3 [presentation]).pptxMeeting Room System - (v3 [presentation]).pptx
Meeting Room System - (v3 [presentation]).pptxLarry Saytee
 
Staff TimeSheet App (v4 [presentation]).pptx
Staff TimeSheet App (v4 [presentation]).pptxStaff TimeSheet App (v4 [presentation]).pptx
Staff TimeSheet App (v4 [presentation]).pptxLarry Saytee
 
Microsoft Teams Access and Sharing.pptx
Microsoft Teams Access and Sharing.pptxMicrosoft Teams Access and Sharing.pptx
Microsoft Teams Access and Sharing.pptxLarry Saytee
 
Microsoft TEAMS for Everyday Users [slideshare]
Microsoft TEAMS for Everyday Users [slideshare]Microsoft TEAMS for Everyday Users [slideshare]
Microsoft TEAMS for Everyday Users [slideshare]Larry Saytee
 
Run audit reports in O365
Run audit reports in O365Run audit reports in O365
Run audit reports in O365Larry Saytee
 
Business Management System (BMS) Slides
Business Management System (BMS) SlidesBusiness Management System (BMS) Slides
Business Management System (BMS) SlidesLarry Saytee
 
SharePoint 2013/O365 Web Part Gallery
SharePoint 2013/O365 Web Part GallerySharePoint 2013/O365 Web Part Gallery
SharePoint 2013/O365 Web Part GalleryLarry Saytee
 

More from Larry Saytee (8)

Meeting Room System - (v3 [presentation]).pptx
Meeting Room System - (v3 [presentation]).pptxMeeting Room System - (v3 [presentation]).pptx
Meeting Room System - (v3 [presentation]).pptx
 
Staff TimeSheet App (v4 [presentation]).pptx
Staff TimeSheet App (v4 [presentation]).pptxStaff TimeSheet App (v4 [presentation]).pptx
Staff TimeSheet App (v4 [presentation]).pptx
 
Microsoft Teams Access and Sharing.pptx
Microsoft Teams Access and Sharing.pptxMicrosoft Teams Access and Sharing.pptx
Microsoft Teams Access and Sharing.pptx
 
Microsoft TEAMS for Everyday Users [slideshare]
Microsoft TEAMS for Everyday Users [slideshare]Microsoft TEAMS for Everyday Users [slideshare]
Microsoft TEAMS for Everyday Users [slideshare]
 
Freelancer
FreelancerFreelancer
Freelancer
 
Run audit reports in O365
Run audit reports in O365Run audit reports in O365
Run audit reports in O365
 
Business Management System (BMS) Slides
Business Management System (BMS) SlidesBusiness Management System (BMS) Slides
Business Management System (BMS) Slides
 
SharePoint 2013/O365 Web Part Gallery
SharePoint 2013/O365 Web Part GallerySharePoint 2013/O365 Web Part Gallery
SharePoint 2013/O365 Web Part Gallery
 

Recently uploaded

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Recently uploaded (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

Auto pop Nintex form fields with a check box

  • 1. Nintex Forms on O365 Auto populate Nintex form fields with a check box By Larry Saytee – SharePoint Consultant
  • 2. Create form, adding the following fields to the “Title”; 1. Outbound Departure – a single line text 2. Outbound Arrival – a single line text 3. Same as Inbound – a tick box (Yes/No) 4. Inbound Arrival – a single line text 5. Inbound Departure – a single line text
  • 3. For each form field control settings; For Outbound Departure, Click the “Advanced” setting, Select Yes from the dropdown for Store Client ID in JavaScript variable. In the Client ID JavaScript variable name, I entered and assigned “varOutboundDeparture” as the variable name. Leave everything else the same.
  • 4. For each form field control settings; For Outbound Departure, Click the “Advanced” setting, Select Yes from the dropdown for Store Client ID in JavaScript variable. In the Client ID JavaScript variable name, I entered and assigned “varOutboundArrival” as the variable name. Leave everything else the same.
  • 5. For each form field control settings; For Outbound Departure, Click the “Advanced” setting, Select Yes from the dropdown for Store Client ID in JavaScript variable. In the Client ID JavaScript variable name, I entered and assigned “varSame” as the variable name. Leave everything else the same.
  • 6. For each form field control settings; For Inbound Departure, Click the “Advanced” setting, Select Yes from the dropdown for Store Client ID in JavaScript variable. In the Client ID JavaScript variable name, I entered and assigned “varInboundArrival” as the variable name. Make sure the “Not connected” dropdown option is selected for the “Connected to” setting. Leave everything else the same.
  • 7. For each form field control settings; For Inbound Departure, Click the “Advanced” setting, Select Yes from the dropdown for Store Client ID in JavaScript variable. In the Client ID JavaScript variable name, I entered and assigned “varInboundArrival” as the variable name. Make sure the “Not connected” dropdown option is selected for the “Connected to” setting. Leave everything else the same.
  • 8. Now, in the form settings add the following JavaScript; To add JavaScript to Nintex Forms, from the Form editor click the Settings button in the Ribbon and then expand the Custom JavaScript section at the bottom. NWF$('#' + Same).click(function(){ var checkBox = NWF$('#' + varSame); if (checkBox.is(':checked') == true){ var OutboundDeparture = NWF$('#' + var OutboundDeparture).val(); var OutboundArrival = NWF$('#' + var OutboundArrival).val(); NWF$('#' + varinboundArrival).val(outboundDeparture); NWF$('#' + varinboundDeparture).val(outboundArrival); } else { var nullValue = ''; NWF$('#' + varInboundArrival).val(nullValue); NWF$('#' + varInboundDeparture).val(nullValue); } });
  • 9. For each form field control settings; Nintex Forms uses a copy of the jQuery library that you can access through NWF$. So just adding SPServices to your form’s page won’t work, but since jQuery is already there it’s fairly simple to get it all hooked up through NWF$. Finally, it’s time for testing. Testing is as follows; 1. Enter data for Outbound Departure and Outbound Arrival fields 2. Check the Tick box, the result should be 3. Uncheck the Tick box, the result should be
  • 10. Testing the form Outbound Departure Airport and Outbound Arrival Airport with “Same as Inbound”: Unchecked
  • 11. Testing the form Inbound Departure Airport and Inbound Arrival Airport with “Same As Inbound”: Checked
  • 12. Larry Saytee (BSc) Email: larry.Saytee@email.com Tel.: 07791842745 Used in this Presentation • SharePoint Server • SharePoint Online (and O365) • Nintex on O365 • jQuery Click here to find out more about Larry Saytee on LinkedIn

Editor's Notes

  1. In Slide Show mode, click the arrow to enter the PowerPoint Getting Started Center.