Sunday, June 30, 2013

Re: Render dynamic form based on meta data

Avishay

Take a look at http://jquery.com/ , lots of stuff there.

The other discussions that have been going on about REST would also be useful to you.

Cheers

François

On Jun 30, 2013, at 4:54 AM, Avishay Balderman <balderman@gmail.com> wrote:

> Hi François
> Since I am a django "newbe", can you please elaborate or even point me to refrences in the web that shows the concept of what I am looking for?
> Thanks
>
> Avishay
>
> On Saturday, June 29, 2013 3:58:32 PM UTC+3, François Schiettecatte wrote:
> Django can handle some of that for you but not all, you will need to use javascript to handle the dynamics on the page itself., I use jquery, and use django to take the ajax calls and return data.
>
> If you don't have that much data you could just add it to the HTML page in javascript structures, would be easier to deal with than making ajax calls.
>
> Cheers
>
> François
>
> On Jun 29, 2013, at 5:28 AM, Avishay Balderman <bald...@gmail.com> wrote:
>
> > Hi
> > I need to implement a django app that has the following capabilities:
> > 1) When the main page loads it needs to dynamically (Ajax) populate a combo (<select>) with a list of "form types"
> > 2) When the user select an item from the "form types" combo, the app should issue Ajax call and fetch meta data. This meta data will bu used in order to render a form.
> >
> > Can you please advice?
> >
> > Thanks
> >
> > Avishay
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Django users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
> > To post to this group, send email to django...@googlegroups.com.
> > Visit this group at http://groups.google.com/group/django-users.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment