Re: Render dynamic form based on meta data

2013-07-01 Thread François Schiettecatte
Avishay I am a little confused, the form looks fine to me, are you trying to send the content to django for validation when the user clicks the 'Validate' button? You can do that using a REST call to django, or POST the form to django, either way you are going to have to write some backend code

Re: Render dynamic form based on meta data

2013-07-01 Thread Avishay Balderman
Hi I am OK with the javascript side (see the attachment) - I am able to take meta data and render a form. My challange is how to use it inside django app. Thanks On Sunday, June 30, 2013 5:10:12 PM UTC+3, François Schiettecatte wrote: > > Avishay > > Take a look at http://jquery.com/ , lots of s

Re: Render dynamic form based on meta data

2013-06-30 Thread François Schiettecatte
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 wrote: > Hi François > Since I am a django "newbe", can you please elabora

Re: Render dynamic form based on meta data

2013-06-30 Thread Avishay Balderman
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 n

Re: Render dynamic form based on meta data

2013-06-29 Thread François Schiettecatte
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,

Render dynamic form based on meta data

2013-06-29 Thread Avishay Balderman
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 () 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