Re: Create email template with the click of a button

2021-04-17 Thread Ryan Nowakowski
Sorry for the weird wording below. Speech to text isn't all is cracked up to be. Just one more point: the JSONField allows your to easily do queries on the individual email addresses if your need to. On April 17, 2021 12:52:15 PM CDT, Ryan Nowakowski wrote: >I've had a similar issue in the

Re: Create email template with the click of a button

2021-04-17 Thread Sebastian Jung
Hello, Emailfield is nothing other then a normal InputField but later with a special validator. I would take InputField then write your own Validator where you split input commasparated an validate every address with a regex.

Re: Create email template with the click of a button

2021-04-17 Thread Ryan Nowakowski
I've had a similar issue in the past. With the latest version of Django pretty much each database back in now supports JSONField. So I created a custom field that inherits from JSON field to take a string of comma delimited values, split them by comma, validate each value individually, then

Re: Create email template with the click of a button

2021-04-15 Thread Smiley
Hello, I have another problem. I am trying to get CC to accept multiple email addresses but I do not seem to get it to work as it always says *Enter a valid email address*. I've searched for solutions, heard the new field *MultiValueField* but I also do not know how to use this in

Re: Create email template with the click of a button

2021-03-23 Thread Sebastian Jung
I have implement it as a bootstrap modal where a Form with fields are shown. When User click submit the Page load New but If you don't want that Page is load New you need a Ajax jquery submit to django Kristen schrieb am Mo., 22. März 2021, 15:46: > Hello, > > Correct. I want to the user to

Re: Create email template with the click of a button

2021-03-23 Thread Smiley
Hello, Thank you for your help guys. I've went the Django form route instead of doing this in JS. I'll create the form dynamically with template and form. Kind regards Smiley kirjutas esmaspäev, 22. märts 2021 kl 16:47:03 UTC+2: > Hello, > > Correct. I want to the user to click a button and

Re: Create email template with the click of a button

2021-03-22 Thread Kristen
Hello, Correct. I want to the user to click a button and have a form appear where the user can compose an email. Gmail uses javascript to render their form on top of the inbox because they > don't want you to have to leave the inbox page. You probably don't have > that requirement. > > Let me

Re: Create email template with the click of a button

2021-03-22 Thread jdsleppy
It sounds like you want the user to click a button and have a form appear where the user can compose an email. The simplest implementation might be to make that button a link () to a page like /email/compose that renders the form. No javascript needed there. Gmail uses javascript to render

Re: Create email template with the click of a button

2021-03-22 Thread Kristen
Hello, Correct me if I'm wrong. I understand that creating the template is possible with django but I have one question. Is it possible to create that email template with the click of a button? For example, in Gmail there's a button "compose". When you click that button it creates an email

Re: Create email template with the click of a button

2021-03-21 Thread Sebastian Jung
Hello, This is dir Django a relativ easy Task. You create a Form with fields Like to,CC,BCC,subject,Text message, HTML Message and Render These Form. Then User enter all Data and when it submit you get the Post Data And submit IT with djangos Sendmail

Create email template with the click of a button

2021-03-21 Thread Smiley
Hello, I am new to Django and recently finished the *Polls* app tutorial in Django site. After that, I read *what to do next* and Django is a big fan of *learning by doing* so I went online and looked for beginner projects to do to learn web development. I am planning to create a site to