javascript - Django- jQuery and tags? -
i'm using app stores/manages forms. i've been wanting list forms in page, , if user clicks on form name, form fetched (via jquery?) , presented in same page, beneath form list, user can fill , submit!
the person made app left template html specific form, example {% render_built_form slug=form_instance.slug %}
i'm confused correct way go @ this. possible/correct use scheme like:
- (the list of forms presented, using javascript make button each of them)
- when user clicks on button, corresponding form (html string) fetched, somehow using tag (with form's slug in there) 'inside' jquery
- the html form displayed beneath list , user can fill it.
is correct/feasible idea, or confusing these concepts? if so, pointers on how use jquery tag super helpful.
meanwhile i've confirmed idea doable, i've implemented , runs ok. there's thing i've implemented didn't mention, of asynchronous posting of filled forms. thx.
Comments
Post a Comment