IMPORTING SUBMISSIONS

Slides:



Advertisements
Similar presentations
L e a r n I n g... T h e I C A T W a y. Img. 1 Webtrak can be accessed by a link on the ICAT Logistics Inc homepage OR by going to
Advertisements

Click the Enter button to begin using the Compendium Click to continue.
Library Online Catalog Tutorial Pentagon Library Last Updated March 2008.
1 Chapter 5 – Handling HTML Controls in Web Pages spring into PHP 5 by Steven Holzner Slides were developed by Jack Davis College of Information Science.
Uploading a Turnitin Assignment Faculty of Humanities and Social Sciences.
DO NOT INCLUDE THIS SLIDE WITH SUBMISSION INSTRUCTIONS 2014 NKBA B.C. Design Competition Digital Entry Packet Questions? Contact
Attribute databases. GIS Definition Diagram Output Query Results.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
4-Sep-15 HTML Forms Mrs. Goins Web Design Class. Parts of a Web Form A Form is an area that can contain Form Control/Elements. Each piece of information.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
Server-side Scripting Powering the webs favourite services.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
1 MySQL and phpMyAdmin. 2 Navigate to and log on (username: pmadmin)
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
© 2003 By Default! A Free sample background from Slide 1 Week 2  Free PHP Hosting Setup  PHP Backend  Backend Security 
PHP meets MySQL.
1 Online Textbook Adooptions
Multi-Part Requests/ Parent & Child Service Items.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Working with MSSQL Server Code:G0-C# Version: 1.0 Author: Pham Trung Hai CTD.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
C# Tutorial -1 ASP.NET Web Application with Visual Studio 2005.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
1. To start the process, Warehouse Stationery (WSL) will invite you to use The Warehouse Group Supplier Electronic Portal and will send you the link to.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Caching Chapter 12. Caching For high-performance apps Caching: storing frequently-used items in memory –Accessed more quickly Cached Web Form bypasses:
Damian Tamayo Tutorial DTM Data Generator Fall 2008 CIS 764.
At the Log in page enter your college provided username and password then click submit to login to Owl Link.
FTLOA Go to User Name: first last name lower case.
MGS 351 Introduction to Management Information Systems RECITATION 12.
1 st Time Your regular Username Your regular Password Last 4 digits of LUNCH NUMBER.
Submission With Internet File Transfer User Guide - SEAN.
Forms Manager. What is Forms Manager? Forms Manager is a completely new online form creation and form data management tool.
1 Working with MS SQL Server Beginning ASP.NET in C# and VB Chapter 12.
© 2003 By Default! A Free sample background from Slide 1 Week 3  Backend Construction  Create your own CRM Please Visit:
Fab25 User Training Cerium Labs LabCollector - LIMS Lynette Ballast.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1 © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential.
Using the My EBSCOhost Folder Tutorial support.ebsco.com.
Core LIMS Training: Entering Experimental Data – Simple Data Entry.
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
MIKADO – Generation of ISO – SeaDataNet metadata files
Databases.
Weebly Elements, Continued
To the OASIS Royalty Reporting Online Training Course
Chapter 19 PHP Part III Credits: Parts of the slides are based on slides created by textbook authors, P.J. Deitel and H. M. Deitel by Prentice Hall ©
Database application MySQL Database and PhpMyAdmin
REDCap Data Migration from CSV file
EPAR Training Module Transfer 11/9/2018 ePAR - Transfer.
Schnucks Trade Partners Portal User Guide
Medicare Advantage Online Enrollment Tool
ISC440: Web Programming 2 Server-side Scripting PHP 3
Database Linked List Representation
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
The Smarter Balanced Assessment Consortium
The Smarter Balanced Assessment Consortium
ePAR - Job Attribute Change
ePAR - End of Assignment
GDSS – Digital Signature
Dealing with images in a resume form.
PHP and MySQL.
2-1-1 Automated Verifications
P2P Req to Receive Receive an Order
La Crosse Interstate Fair – Online Entry Process
To the OASIS Royalty Reporting Online Training Course
Forms, Resource Links, Discounts & Locations
Overview of Contract Association Batch Upload
The Smarter Balanced Assessment Consortium
The Smarter Balanced Assessment Consortium
Mr. Justin “JET” Turner CSCI 3000 – Fall 2016 Section DA MW 4:05-5:20
Presentation transcript:

IMPORTING SUBMISSIONS

THE SUBMISSIONS DATABASE RELATIONSHIP In systems analysis, a one-to-many relationship is a type of cardinality that refers to the relationship between two entities - A and B in which an element of A may be linked to many elements of B, but a member of B is linked to only one element of A. For instance, think of A as books, and B as pages. A book can have many pages, but a page can only be in one book.

WHAT’S IN A SUBMISSION SUBMISSION Two tables are used to store submission data. There’s a parent submission table and the values from the submission all linked to this particular submission ID. SUBMISSION Full Name Email Address Date of Birth Image Upload About Yourself Past Experience

TABLE STRUCTURE SUBMISSION SUBMISSION VALUES Composed of static data: Submission ID Form ID Date Submitted User IP User ID Language Submission Hash Submission Confirmation SUBMISSION VALUES Multiple rows that consist of: Submission ID Form ID Field Name Field Value

RSFORM! PRO VARIABLES $invalid No sense in processing an incomplete form. $_FILES[‘form’][‘tmp_name’][‘name-of-field-here’] Again with the funky structure. $_POST[‘form’][‘name-of-field-here’][0] This is a single option dropdown’s value. Yes, funky.

PHP FUNCTIONS fopen(string $filename, string $mode) Opens a file (in our case, for reading). fgetcsv(resource $handle) Reads a line from the CSV file and returns it as an array.

THE PROCESS 1 Upload a standard CSV file. We can export one from one of our forms’ submissions. 2 We’ll need to open it – the first line will be the header. Based on this header we’ll know which fields we’ll need to populate. 3 Map the static submission data to the main submissions table. This is only one entry. 4 Map the field values to the submission values table. These will be multiple entries, one for each field.

Let’s add an Upload field. We’ll set it to accept only CSV extensions. SETTING UP THE FORM Let’s add an Upload field. We’ll set it to accept only CSV extensions. I’ve also added a dropdown where I can select which form I’m adding submissions to. We’ll analyze the code on the next slide.

Retrieving forms //<code> $db = JFactory::getDbo(); $query = $db->getQuery(true) ->select($db->qn('FormId')) ->select($db->qn('FormTitle')) ->from($db->qn('#__rsform_forms')); $options = array(); if ($results = $db->setQuery($query)->loadObjectList()) { foreach ($results as $result) $options[] = $result->FormId . '|' . $result->FormTitle; } return $options; //</code>

Add it to the backend menu. Restrict access. Add it to the backend menu. You’re done.

EMAIL WEBSITE Thank you for watching. support@rsjoomla.com www.rsjoomla.com