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

I would like to create a safe sum extension method that would have the
I would like to create a folder that users who do not have privileges
I would like to create a file whose descriptor would have some customizable behavior.
Is there anyway I can create a not in clause like I would have
We let users create ad-hoc queries in our website. We would like to have
I have written a small Perl script and now I would like to create
hi i would like to create a custom calendar, this calendar will have custom
I'm programming in PHP and would like to create web pages which have email
I have monthly sales figures stored in separate sheets. I would like to create
I have created an iPhone application based on an OpenGL view. Now I would

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.