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

Create contact form #1

Open
estebistec opened this issue Aug 20, 2011 · 4 comments
Open

Create contact form #1

estebistec opened this issue Aug 20, 2011 · 4 comments
Assignees

Comments

@estebistec
Copy link
Member

It's on Julia's design, we don't have it yet in the code. Probably something simple, like this [1]. Will probably go to the groups private gmail address when a site visitor submits.

UPDATES:

  • For now, will just submit against the home-page URL and return to that page with a message (using the django messages framework), and the form at the bottom will be reset.
  • Also need to investigate how caching works on a page with a form and a message after form submission.

[1] https://bitbucket.org/ubernostrum/django-contact-form/

@estebistec
Copy link
Member Author

I've heard Mark may have wanted to do this? I'll leave some time for him or whoever else wants to pick this up. If I run out of other things to do I'll probably pick it up.

@ghost ghost assigned estebistec Aug 29, 2011
@estebistec
Copy link
Member Author

I poked at the contact form a bit tonight. Progress checked in at [1]. Code review welcome, especially on the styles. I plan on continuing with this tomorrow evening, etc.

Remaining:

  • Style form error messages in some acceptable manner
  • Deal with the web-kit text-area placeholder style wrapping issue [2]
  • Code up form submission.
  • Code up fallback from HTML5 placeholders [3]
  • Code up the successful-POST message on homepage
  • Setup an email backend and code up the message-send

[1] a212a00
[2] http://stackoverflow.com/questions/4461414/html5-placeholder-attribute-chrome-doesnt-line-wrap-in-textareas
[3] http://css-tricks.com/6841-textarea-tricks/

@estebistec
Copy link
Member Author

Made a decent amount of progress in a series of short spurts between chasing kids around this weekend :). This is up and running here right now:

http://pythonkc.com/demo

Andrew, could you please test the contact form and see that an email comes to the pythonkc@gmail inbox. The email templates are very simple. If there's anything you'd like changed about them, lemme know or just go edit [1].

Finished

  • Form submission
  • Emailing based on contact form submission
  • Form field error messages styled consistently with original page design (at least as best as can be done with my judgement :))

Remaining

  • Deal with the web-kit text-area placeholder style wrapping issue [2]
  • Code up fallback from HTML5 placeholders [3]
  • Code up the successful-POST message on homepage (I might just do this real quick tonight...)

[1] https://github.com/pythonkc/pythonkc.com/tree/master/pythonkc_site/contact/templates/pythonkc_site/contact
[2] http://stackoverflow.com/questions/4461414/html5-placeholder-attribute-chrome-doesnt-line-wrap-in-textareas
[3] http://css-tricks.com/6841-textarea-tricks/

@estebistec
Copy link
Member Author

Added a message for after contact-form submission. You can view it directly without submitting here:

http://pythonkc.com/demo?contact_sent=yes

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

1 participant