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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:42:38+00:00 2026-05-25T17:42:38+00:00

I wondered if this was possible: It looks like this: <tr> <td> Full Name:

  • 0

I wondered if this was possible:
It looks like this:

<tr>
  <td>
   Full Name:
  </td>
  <td>
   <input type='text' class="inputbox" name='fullname' value='<?php echo $fullname; ?>'>
  </td>
</tr>

But I wanted to get rid of the <td>Full Name</td> and instead of that in the input box itself: value=”Full Name”. But the function value='<?php echo $fullname; ?> would echo the typed in full name of the person if he did not enter all fields.

My form is made in that way; if someone fills in the form, but leaves one field out, it will echo “please fill in all fields” under the form. But it would be annoying if he had to enter all the information over again! That’s where value="<?php echo $fullname; ?> comes in. It will echo the information the user had typed.

So I need a value that shows “Full Name” normally but after a user put in his full name:”John Smith” but not all fields, he would get the “enter all fields” and the “Full Name” Would change in “John Smith”.

At this moment he will get “John Smith” if he did not enter all fields, but i wan’t the field too show “Full Name” before the user entered “John Smith” And NOT show “Full Name” again.

So in other words I need two values, one that shows normally, and after submit is presses it will echo $fullname.

I hope you guys understand what I mean.

Greetz

  • 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-25T17:42:38+00:00Added an answer on May 25, 2026 at 5:42 pm

    I think what you are looking for are placeholders…

     <input type='text' class="inputbox" name='fullname' placeholder="Your name..." />
    

    Please note placeholders are not supported by older browsers.

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

Sidebar

Related Questions

I wondered if this would be possible. I'd like to centralize my cakePHP core
It's the first time I have done anything like this but wondered what the
I have an object in my class like so: this.options = { a: 1,
Hi I just wondered if this is possible. I have quite a few images
I am building a PHP class to handle database management, and I wondered if
I've always wondered this, and still haven't found the answer. Whenever we use cout
I've always wondered about this, and now a client is wondering whether it's feasable:
I have always wondered about this. So many application setups have a zip file
I had always wondered why this : var a = [[0, 1]]; a[0] ==
I am working on const-correctness of my code and just wondered why this code

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.