Jump to content

Recommended Posts

Hello, i want to convert the user input of textarea into a varible that will then be used in a hidden input box... seeing as echoing it into the input box is the only way.. does anyone have any ideas on how to do this? thank you... im a very big noob so dont know much but dumb google didnt come up with anything at all when searching..

 

<div class="sf-box text">
 
<label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_profile['Yahoo'] ?></span></label><br />
<textarea  name="about_text" cols="45" rows="5">Please write about your self here.</textarea>
$about =$_GET[about_text]
 
<span class="fld-input"><input id="fld<?php echo $forum_page['fld_count'] ?>" type="text" name="form[yahoo]" value="<?php echo  $about ?>" size="70" maxlength="400" /></span>
</div>
 
is what i have at the moment not working at the moment, i just want it to be able to echo the text that was in textarea into the input field... and anyone know how to hide the input field too so there arent to boxes showing up? 
 
(i have tried using soley text area however i am having major problems with that and it aint working that way so this is the next best way because i think converting input box to textarea would cause to many conversion errors)
 
anyway please help
 
thank you
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.