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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:21:12+00:00 2026-05-23T04:21:12+00:00

I have a <form method=post> and I have a <input type=text name=honnan value=> in

  • 0

I have a

<form method=post> 

and I have a

<input type=text name=honnan  value=""> 

in it.

Are there any methods to pre-fill the VALUE part?

It’s easy when there’s only 1 thing to fill in to the VALUE, but I need several things to be pre-filled in to the VALUE.

e.g.:

ABC
DEF
GHI

So I need to give the choice to have several values in the VALUE pre-filled, just like if the browser cached the once written value to it.

A

<select id="old_sl" tabindex="0" name="sl">
<option SELECTED value="auto">ABC</option>
etc.

is not a solution because I want that the user could write custom values in the VALUES text form.

  • 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-23T04:21:13+00:00Added an answer on May 23, 2026 at 4:21 am

    You can use JavaScript for this. Have JavaScript watch that field (e.g. use event handling to determine when the user is typing) and when the user starts to type in a value you can check to see if it matches anything of the predefined values (e.g. ABC, DEF, GHI, etc) and if it does offer them a chance to select it from a drop down that is displayed underneath that text field. Otherwise, let them continue to add their own custom value.

    This is known as autocomplete. Popular JavaScript frameworks like jQuery and Prototype/Scriptaculous offer tools for making this easy to do.

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

Sidebar

Related Questions

I have a simple form like this: <form name=serachForm method=post action=/home/search> <input type=text name=searchText
I have this form: <form name=form method=post> <div> <p> Problem Name: <input type=text size=20
I have an HTML form: <form action='process.php' method='post'> <input type='checkbox' name='check_box_1' /> Check me!<br>
I have simple form. <form target=_blank action=somescript.php method=Post id=simpleForm> <input type=hidden name=url value=http://...> <input
I have code that looks like the following: <form id=MyForm name=MyForm method=post action=index.php> <input
I have a small contact form: <form method=post action=contact.php name=contactform id=contactform> <fieldset> <legend>Please fill
I have the following form <form name=myForm id=myForm method=post enctype=multipart/form-data action=script.php> and this jQuery
I have a form like this: <form id=loginCompact action=https://externalsite... name=sportsbook method=post onsubmit=createCookie('BRLOG', document.sportsbook.username.value, 1)>
I have Form as <form name=selectdoctype method=post action= id=selectdoctype> <table style=border:none;> <tr><td colspan=2> (<span
I have a form with the following HTML below: <form id=course_edit_form name=course_form action=/courses/save method=post>

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.