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

  • SEARCH
  • Home
  • 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 7082043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:59:49+00:00 2026-05-28T06:59:49+00:00

User goes to a page which has a SELECT choice list. Once he picks

  • 0

User goes to a page which has a SELECT choice list. Once he picks a choice, without submit button, but rather by SELECTION, we render a new page which is process by a different view (in a different app).

CHOICES = {('EDIT','EDIT'), ('ASSIGN', 'ASSIGN'), # etc # }
select = forms.CharField(widget=forms.Select(choices=CHOICES))

Now, I am pretty clueless how to go about writing my view.

choice_view.py renders choice.html; then choosing EDIT process by edit.py with some parameters.

http://localhost/url_1/ then (after selecting edit goes to) http://localhost/url_2/

Can someone lead me in the right direction?

Thank you!

  • 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-05-28T06:59:49+00:00Added an answer on May 28, 2026 at 6:59 am

    You can try the following:

    Firstly, define a URL for http://localhost/url_2/ with its name, parameters and view which it would run. Here, the view lies in the file edit.py.

    Then, in the template of http://localhost/url_1/, i.e., choice.html, write a JQuery code defining the onChange function for the select field. In the onChange function, call the URL of http://localhost/url_2/ by its name and passing the select field value as parameter to it. You can use window.location.href for calling the URL. This would redirect you to http://localhost/url_2/.

    In the view inside edit.py, you can write the code of the process further.

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

Sidebar

Related Questions

I have a (HTTPS) login.php page which remains HTTPS (ie once user logged in
I'm trying to do the following: User goes to web page, uploads XLS file
I'm having troubles with fckeditor in Firefox. When the user goes to a page,
I want to setup a route so that if the user goes to http://mysite.com/page.html
When a user goes to my site, my script checks for 2 cookies which
I'm working on application which has workflow like this: 1.parsing home page (using HttpURLConnection,
I have a page that currently goes to the url /edit/baseProductId and it has
Use Case When a user goes to my website, they will be confronted with
I want my intent to be launched when the user goes to a certain
1) user A goes to the site, creates an account, and logs in 2)

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.