Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8226491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:47:20+00:00 2026-06-07T15:47:20+00:00

I want to pass a form input value to action before the user press

  • 0

I want to pass a form input value to action before the user press the form submit button (before POST method is executed). My goal is this: the user fill one input field and when he goes to the second field, the python code in the server performs some computation (like guess user’s gender based in the first name he typed).
Is it possible using python gae and jinja2 html templates?

Thanks for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T15:47:21+00:00Added an answer on June 7, 2026 at 3:47 pm

    Like Daniel said, you’ll need to use Javascript. You can define a handler on the server side, then bind a callback to the input or keyup event on your first field which uses AJAX to post the data to the backend and get the result. My favorite library for AJAX stuff is reqwest and I usually use bean for event handling, but many other people use jQuery for both.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've a form. <form action=inc/genxml.php method=post> <input id=nameTxt name=name type=text value=test/> <button id=nameSave class=left>Save</button>
I have a textfield with a submit button as follows: <form id=keywordForm action=r2/keyword_subscribe/ method=post>
I want to pass php variable value as a action to html form. I
If i have input text in form like this <form action=add.php method=post> <input type=text
I've a php form <form action= method=POST> <input id=input1 name=key type=text> <input id=input2 name=name
I have a simple form: <form id=formTest name=formTest action= method=get> <input id=txtPostcode name=Postcode type=text
this is my view for /weather: JSP FILE .... <form method=post action=/spring/krams/show/city> <select name=city>
With my PHP form, I want to pass one value to the URL, but
I want to pass a parameter, when i click submit button. urls.py urlpatterns =
I have a form: <form action=/processform> <input name=firstname value=john /> <input name=lastname value=doe />

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.