[Flask] interactive forms that "talk" to one another on a page ?

Dorian Hoxha dorian.hoxha at gmail.com
Wed Oct 14 17:27:35 CEST 2015

You have to use javascript (assuming you want without refresh?).
In the first case, I think you have a "table" not a form (the listing of
the entries, i don't know how you list entries in a form?) To search
without refreshing you can use something like this:

When the button is clicked, you run your js-code that shows the entry to
the other form.

On Wed, Oct 14, 2015 at 3:23 PM, Piotr Grabowski <kajocina at gmail.com> wrote:

> Dear Flaskers,
> I have a general question about a possible solution to my problem.
> What I would like to do is to have two forms on a page, next to one
> another. Now, I know how to generally make forms (I am using wtf forms),
> but what I need is to have one form hold entries that will be read in from
> a .csv file in the background in Flask. The user should scroll through
> those entries and be able to, upon clicking, make an entry appear in the
> other form.
> Could I get some general tips to where to look for solutions ?
> It would be also great to have a filter box where users could enter a
> phrase and only get matching results in that form with the list, so he/she
> doesn't have to scroll forever.
> I appreciate any help!
> Best,
> Piotr
> _______________________________________________
> Flask mailing list
> Flask at python.org
> https://mail.python.org/mailman/listinfo/flask
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20151014/436c47d4/attachment.html>

More information about the Flask mailing list