Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Research required work to in-source Job System form [4 hr time box] (2) #13

Open
4 tasks done
nihonjinrxs opened this issue Sep 26, 2017 · 3 comments
Open
4 tasks done
Assignees

Comments

@nihonjinrxs
Copy link
Member

nihonjinrxs commented Sep 26, 2017

  • Get access to form development tool
  • Understand view/subview system in Sinatra
  • Understand submission handling and data
  • Understand input validation
@nihonjinrxs nihonjinrxs changed the title Research required work to in-source Job System form () Research required work to in-source Job System form [4 hr time box] () Sep 26, 2017
@nihonjinrxs nihonjinrxs changed the title Research required work to in-source Job System form [4 hr time box] () Research required work to in-source Job System form [4 hr time box] (2) Sep 26, 2017
@jusantana
Copy link

jusantana commented Oct 20, 2017

Creating Forms

Creating a form does not seem to be hard or time consuming. The best way to create one would be with html and style it with css.

  • Html has a <form> tag that allows you to create forms

  • Forms have the tag <input> with attriutess id, type, name, value

  • -the <name> allows to name the answer of the question ussualy used to specify what type of answer one would use.

    ** If looking for first name one might use the attribute as name=”fname

  • The value atribute allows one to set a preset value in the area.

    ** If i set the value to value="Lorem" then the form will have the value lorem prefilled.

  • Each question in the form is formated by < type> tag that allows for different form type submissions

    ** ex. <input type:”text”> creates a text box that allows strings to be submitted by the user.

    ** Possible types include text, number, email...

    ** Full List of types https://www.w3schools.com/tags/att_input_type.asp

  • For drop down lists one uses the <select> tag to open a list and the <option> tag for the actual options.

  • Ids can be set in the initial <form> tag which can then hook with javascript in order to manipulate the data or css to style it.

    ** example <form id=”test”>

ex. of a form

<html>
<body>

<form id="test" >

    First name: <input type="text" name="fname" ><br>

    Last name: <input type="text" name="lname"><br><br>

    Age: <input type=”number” name=”age”>
   
   <select name="referral">
       <option value ="Through an online search">Through an online search</option>
       <option value="Midnight Basketball Website">Midnight Basketball Website</option>
       <option value="Friend">Friend</option>
       <option value="Library">Library</option>
       <option value="Community Group">Community Group</option>
       <option value="other">Other</option>
    </select>

  <input type="submit" value="Submit">  #Creates a submit button

</form>

</body>
</html> ```

#Any questions just let me know.

@tmloupe
Copy link

tmloupe commented Oct 22, 2017

Doesn't seem too bad to recreate a form especially if you can use source code from the original one. However, using JavaScript to do the match an opportunity center on the fly may be tricky. I'd say either a 2 or 3, depending on how much of the source code for the original form can transfer over.

@cam-carter
Copy link

I'd estimate it at a 3. We wouldn't have much in the ways of a style guide since it was originally iframed in. It will certainly take a length amount of inspecting the original to carry over assets.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants