Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion on future syntax #1

Open
1 of 3 tasks
mofosyne opened this issue Oct 22, 2014 · 1 comment
Open
1 of 3 tasks

Suggestion on future syntax #1

mofosyne opened this issue Oct 22, 2014 · 1 comment

Comments

@mofosyne
Copy link

http://talk.commonmark.org/t/introducing-markdown-extensions-for-form-input/432/2

This is best done as a generic directive input

Generic Directive Style Brainstorming. The idea is that you could potentially print this as it is and fill it out if you really needed to.

!form: Form Header Name
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Choose an Email?:  ______________
Choose a password: ***___________

Describe why you want to register:
[                                ]
[________________________________]

Gender: [ "male" / "female" ]

Which of these features will you need?:
* [ ] simplicity
* [x] Don't know
* [ ] complete
Radio Button. Which pet do you want most?:
* (#) cat
* ( ) dog
* ( ) bird

          [>>  OK   <<] [!! RESET !!]

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
{action="MAILTO:[email protected]" method="post" enctype="text/plain"}

Designed to fail gracefully

Choose an Email?: ______________
Choose a password: ***___________

Describe why you want to register:
[ ]
[________________________________]

Gender: [ "male" / "female" ]

Which of these features will you need?:

  • simplicity
  • Don't know
  • complete

Radio Button. Which pet do you want most?:

  • (#) cat
  • ( ) dog
  • ( ) bird

[>> OK <<] [!! RESET !!]


Other form inputs:

Drop down list: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_select3

Fiat option preselected

(cars) Choose a car:
*  [  Volvo  ]
*  [  Saab   ]
*  [- Fiat  -]
*  [  Audi   ]

Field set: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_fieldset

# is first level fieldset
## Second level fieldset

e.g.

# Login Details
Choose a Username: ______________
Choose a password: ***___________

# Personal Details
Gender: [ "male" / "female" ]
Religion: ________

Datalist: http://www.w3schools.com/tags/tag_datalist.asp

What is your browser?:  ______________
* Internet Explorer
* Firefox
* Chrome
* Opera
* Safari
@bosky101
Copy link
Owner

thanks for the feedback!

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

No branches or pull requests

2 participants