Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by Sarge

  1. Sarge

    Parametrizing routes in flask by multiple submit buttons

    The value of the value attribute is the id which I'm retrieving by request.form
  2. Sarge

    Parametrizing routes in flask by multiple submit buttons

    Actually, by buttons I can get a unique id (value attribute) for each url which can be used to pass some data from another system (probably pull data from database). By anchoring I may not be able to get the id. Is there a way I can get it from the url? I just to make dynamic url for each button...
  3. Sarge

    Parametrizing routes in flask by multiple submit buttons

    I am trying to make a website which has solutions of a book (5 chapters). Firstly, I want to open chapters.html with route /chapters which displays five submit buttons and chapter no. as their values. <form action="/{{ chapter }}" method="POST"> <input type="submit" value="Chapter 1">...
Back
Top Bottom