Chaos tool suite's Form wizard tool. Who am I? oadaeh d.o UID: 4649 (10 years 1 month) Mass Contact, Basic webmail Live in: Las Vegas, NV Organizer of.

Slides:



Advertisements
Similar presentations
Business Development Suit Presented by Thomas Mathews.
Advertisements

In this example I will all of the IT majors. I start by clicking the Contact Info for Majors by GPA and Hours button of the shared reports form.
No.SCREENACTION 1Assessment PageClick Step #1 Button 2Assess. DescriptionRead & view graphics 3{continue}Click Prntr-Friendly Ver. 4Prntr-Friendly Ver.Print.
Logging In Go to web site:
Tips: * Just delete the page you don’t like. * Save the page you want only before submit to us.
Python, CGI November 23, Unit 8. So Far We can write programs in Python (in theory at least) –Conditionals –Variables –While loops We can create a form.
Quick Guide Completing the External Examiner’s On-line Annual Report MITRE Quick Guide Completing the External Examiner’s On-line Annual Report Version.
User Office Status CANARIE Site Visit July, 2009.
High Performance Faceted Interfaces Using S2S Eric Rozell, Tetherless World Constellation.
Reference Manager Making your life easier! Updated September 2007.
Instructions for completing the CTOP web survey for periodic reporting.
Dental. Step 1 Your User ID is your City network login which must be typed in ALL CAPITAL LETTERS. Enter the desired information into the Password field.
20 February Set Up Access Groups. 20 February Access Group Definition Combines time zones and doors into groups of where and when access can.
Database Updates Made Easy In WebFocus Using SQL And HTML Painter Sept 2011 Lender Processing Services 1.
Graphical User Interfaces A Quick Outlook. Interface Many methods to create and “interface” with the user 2 most common interface methods: – Console –
Empowering EPrints Search with Xapian
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
The Drupal 6 menu system: architecture, do, don't and tricks (part 1) Peter Wolanin August 27, 2008 Drupalcon, Szeged.
1 Introducing Windows Backup There are different methods for starting Windows 2000 Backup. Requirements for running Windows 2000 Backup All users can back.
How to extend and configure Drupal without user interaction or database dump By Damien Snoeck for Switzerland Romandy Drupal Group January 27, 2010 Work.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
CSCI 6962: Server-side Design and Programming Introduction to AJAX.
 2008 Pearson Education, Inc. All rights reserved Ajax-Enabled Rich Internet Applications.
FPDS- NG Reports Overview December 16, Today’s Goals Provide an overview of the FPDS-NG reporting capability Demonstrate each of the reporting tools.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT.
Writing various AJAX forms in Drupal 7 1. Overview of Form API 2. Ctools 2.1 Ctools features 3. Ajax 3.1 Ajax Forms in Drupal 4. Putting it all together.
Mail merge I: Use mail merge for mass mailings Perform a complete mail merge Now you’ll walk through the process of performing a mail merge by using the.
Multi-Part Requests/ Parent & Child Service Items.
AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN.
Drinking Water Infrastructure Needs Survey and Assessment 2007 Website.
Alcatel-Lucent CDC Workshop, Coaching & Knowledge Transfer Architecture.
Scheduling a Report to Run on a Regular Basis. Any Scheduled Report must indicate the school and report name Rename the Report and enter all Selection.
How does Drupal Work? Information Systems 337 Prof. Harry Plantinga.
Setting Up your Hosting Account and Installing WordPress and Omeka CCC America Advanced Omeka Training.
Module 8 : Configuration II Jong S. Bok
Drupal for client Maria Sherskova skype: sherskova.
Medical. Step 1 Your User ID is your City network login which must be typed in ALL CAPITAL LETTERS. Enter the desired information into the User ID field.
Libraries and APIs CMPT 281. Overview Basics of libraries and APIs Rich internet applications Examples – Scriptaculous – JQuery.
Setting Up TGO User Accounts. Creating User Accounts for Other Users If your company has other users who need to use the Active Orders system, your company’s.
Chapter 16: Ajax-Enabled Rich Internet Applications with XML and JSON TP2543 Web Programming Mohammad Faidzul Nasrudin.
KW Advanced Agent Website Training April, What We will Discuss Using hyperlinks to your “contact me/us page” Which color boxes control what areas.
Chapter 3 Automating Your Work. It is frustrating when you have to type the same passage of text repeatedly. For example your name and address. Word includes.
REDCap Advanced Topics
Internet Advancement Ore-Ida Council Boy Scouts of America.
Microsoft ® Outlook 2000 Integrating Outlook with Office Applications.
IT533 Lectures ASP.NET AJAX.
Adxstudio Portals Training
Panasonic UC Pro - UC Pro Server setup with Active Directory -
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Navigation Framework using CF Architecture for a Client-Server Application using the open standards of the Web presented by Kedar Desai Differential Technologies,
Summative Assessment Welcome We will wait a few minutes for participants to log on and call in. –Call in: –Pass code: *6 to.
Page ADP PearsonAccess Proctor Training. Page Agenda Test Overview Testing Components Proctor Roles and Responsibilities Overview Administering the Test.
Lesson 16-Templates and Wizards. Overview Use Word templates. Create new templates. Attach templates to documents. Modify templates. Use the Organizer.
This is the interface for the Reflect version of the PebblePad system which is being made available by the IfL to its members. Colleagues can choose to.
Module X. SMS and Broadcasting
Getting Started with... Business Partner Express
Business Objects Overview
Collecting Information from the User
Panelize all the Things!
IS333: MULTI-TIER APPLICATION DEVELOPMENT
LGC Website, Software updates, Documentation, and Videos
INFM 603 Main Class Project
REAL-TIME, INTERACTIVE DOCUMENT AUTOMATION
CodePainter Revolution Trainer Course
User Guide Employee & Manager
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

Chaos tool suite's Form wizard tool

Who am I? oadaeh d.o UID: 4649 (10 years 1 month) Mass Contact, Basic webmail Live in: Las Vegas, NV Organizer of the Drupal User Group of Las Vegas: Ask away – don't wait until the end

Audience survey Who has ever attempted to use the Form wizard tool? Who has ever attempted multi-step forms in Drupal using another method? What are the other methods you have used?

Other Examples

What it is What is the Form wizard tool? It is a way to make multi-step forms less difficult What are multi-step forms? A series of forms culminating in a single or group of actions

What it is not What the Form wizard tool is not A point-and-click GUI interface to set up a multi- step forms wizard

How Drupal does it Drupal's FAPI wants to own the process Form callback builds entire form Submit callback saves entire form Standard multistep means having entire form, only showing part of it, doing weird things in submit

Drupal's FAPI Form Page callback Render Save drupal_goto()

You must unlearn what you have learned You cannot be successful with multi-step forms, unless you divorce the form presentation from the data Your form doesn't load, save, or own your data Your form is a view in the MVC sense; it is a view of the data only

Paradigm Shift Wizard Page callback Render Save drupal_goto() Form

Broad overview (the parts of the wizard) Entry point into main function (hook_menu()) The main function, which defines and initiates the wizard The data, which is an object Object caching Form functions Callbacks – the wizard interacting functions

Start at the beginning Install and enable: Chaos tools suite Only the main Ctools module needs to be enabled Advanced Help Only if you want the documentation Your module Contains you form wizard code

Ctools' Object Cache A non-volatile, temporary cache stored in the database ctools_object_cache_set($obj, $name, $cache) $cache = ctools_object_cache_get($obj, $name, $skip_cache = FALSE) ctools_object_cache_clear($obj, $name)

Ctools' Form wizard tool $output = ctools_wizard_multistep_form( $form_info, $step, $form_state );

The Forms Standard FAPI forms The data they operate on comes from $form_state Can have validate functions Must have submit functions To save the data from $form_state[‘values’] to $form_state[‘whateveryoucallyourcacheobject’]

The Callbacks Next: This function should take the submitted data and cache it for later use by the finish callback. Finish: This function should finalize all data. Cancel: This function should clean up any data that is cached. Return: This is often the same as the finish callback. Common: Defaults to: $form_info['id']. _ if it doesn't exist. Params: &$form_state.

Demo and Code

Other Considerations AJAX The cancel and back buttons with required fields Anonymous users Auto caching ($form_info['auto cache']) Next and finish callbacks not required Unless you want to change what the next form will be in the next callback, which is set thusly: $form_state[‘triggering element’][‘#next’] = $new_step;

Resources wizard-multistep-form-using-ajax-drupal-7 wizard-example multistep-registration-form-drupal-7-using- ctools control.de/en/help/ctools/wizard

Resources 2 Documentation: Advanced help sites/all/modules/ctools/includes/wizard.inc Presentation: slides-and-example-code Extending the tool: -chaos-tools-wizard.html

Questions?