Skip to content

aniketxpp/GoogleFormSwiftLibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

GoogleFormSwiftLibrary

Super Simple Google Form Integration using Swift.

Usage

    String googleFormNameField = "entry.988940513"
    String googleFormCompanyField = "entry.616869385"
    //..Next entries or vairiables..//
    
    let gForm = GoogleForm()
    
    /* Clear the Contents before next entry */
    gForm.clear()
    
    /* Google Form Link */
    gForm.setGoogleFormLink(googleFormLink)
    
    /* Fields */
    gForm.setNextFields(googleFormNameField, value: ClientList.text!)
    gForm.setNextFields(googleFormCompanyField, value: CompanyList.text!)
    gForm.setNextFields(googleFormCommentsField, value: Comments.text!)
    
    /* Sends data to google form */
    gForm.sendToGoogleForm()

Instructions

  1. Create new form in Google Drive Alt text

  2. Click on Send image

  3. You will get Link from it image

  • Now change viewform to formResponse and that will be your googleFormLink
  1. Now view source in browser and search for entry image

  2. Now the entries will be serially as the fields defined in your form are

    • entry.988940513 will be googleFormNameField
    • entry.616869385 will be googleFormCompanyField
  3. You are done

Cons

    It can only post data , no backway traffic

About

Super Simple Google Form Integration using Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages