Code Monkey home page Code Monkey logo

cyf-forms's Introduction

CYF Forms

This project was born out of the need for a free alternative to Typeform. Google Forms is free but doesn't offer the branching logic required.

How to Embed

You can embed one or several forms on a page using this syntax:

<div class="cyf-form" data-form="ApplicationForm"></div>

Available Forms

  • ApplicationForm

I am Kadir and I am the greatest

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

yarn e2e

Runs the Cypress end-to-end tests, which means:

  • Starting a mock for the backend server on port 3100
  • Starting the forms app in LOCAL mode on port 3000
  • Waiting for the app to start then running the tests

cyf-forms's People

Contributors

adam-codersgu avatar al-ashmali avatar alexandrubudaca avatar alirezabg avatar bondcoder avatar canarywharf avatar chidimmaofodum avatar chrisowen101 avatar davoodkhoshnood avatar dependabot[bot] avatar foaly-nr1 avatar h-bahdon avatar josamit avatar khmdagal avatar kkarimi avatar krustyc avatar laperla11 avatar markfarmiloe avatar matildaako avatar morteza-khojasteh avatar nabraha avatar pedroguima avatar pkijowska avatar robert-freire avatar saadiaelf avatar textbook avatar wolfjawan avatar youssef910 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cyf-forms's Issues

Post Launch Enhancements

  • Add progress bar
  • Improve mobile styles for checkbox grid (what does Google Forms do?)
  • Dropdown widget needs a border or downward arrow
  • For “interests” allow option Other with free-hand topic associated
  • Assess and improve accessibility #a11y
  • Each component should be in its own folder
  • Change ApplicationForm to VolunteersApplicationsForm
  • Don't use index.html, but volunteers-application-form.html

Add GTM tracking code to volunteer application form

Please can the following be added?

Paste this code as high in the of the page as possible:

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PJ64R84');</script>
<!-- End Google Tag Manager -->

Additionally, paste this code immediately after the opening tag:

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PJ64R84"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.