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 1011967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T09:52:24+00:00 2026-05-16T09:52:24+00:00

So if I would have to create a Next Button (that links to the

  • 0

So if I would have to create a Next Button (that links to the next url) AND saves a Timestamp in the database.

How would I create that html code for that?

and how the db?

What would I have to put into the button html code?

e.g.

<form id="form1" name="form1" method="post" action="">
  <label>Next
    <input type="submit" name="button2" id="button2" value="Submit" />
  </label>
</form>

???

Would a hidden form be useful here/standard usage?

And how would the the Database Field in the model to store the Timestamp have to look like?

timestamp = DateTimeField (auto_now or auto_now_add?)

And how would the view have to look like?

???

Thanks for the 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-05-16T09:52:25+00:00Added an answer on May 16, 2026 at 9:52 am

    I think it depends on whether you want to capture the time the user presses the button or the time that action is registered by the server.

    If the latter is sufficient, you can just create the timestamp in the django view: You assign datetime.now() to a DateTimeField of your model in the view that corresponds to your form target. Then you return the next page.

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

Sidebar

Related Questions

How would I create a DecimalFormat that would only have seven digits total and
i have the following problem: i would like to create a footer. that footer
I'm trying to create a button that would export a chart in sheet Graphs
I was wondering how I would be able to create a button that would
I would like to create a form that changes dynamically. I have a form
In a customised form I would have a create Purchase Menubutton which opens a
I'm curious what programming language I would have to learn in order to create
I'm looking to create something like in this image. Each block would have an
Here's my problem: I have do create a menu/list of actions (which would be
I have a class which would create a bean and the bean has few

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.