Either approach is valid - the choice will depend on how well the built in
"form" page type will work for your homepage.


On Wed, May 14, 2014 at 4:00 AM, Flordelis Dimaano <[email protected]>wrote:

> I'm new to mezzanine and I wanted to place a form on the homepage.
>
> Tried 2 possible ways to do this:
> 1. Passing the form fields to the built-in contact form
> ... problem with this approach is I wanted more control over the
> validation of data
> 2. Created a regular model form (like a regular django application)...
> However, this is not working (so not sure if I'm missing something here)
>
> I'm just wondering if there is a standard way of doing forms in mezzanine
> when embedding in a page.  In this case, the page is not a custom page type
> yet because I'm just using the index.html to make changes.  Also, this way,
> I'm not adding more complexity with a new page type.... I just wanted to
> add a form to the existing homepage but seems that it's not using the
> models/form for it (maybe overridden by mezzanine) so wanted to know if
> there is a better way to do what I want to achieve...
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to