Jump to content

Update Code Now Has 'form_Id' Error


justlukeyou

Recommended Posts

Hi,

 

Huge thanks for you help with this mrMarcus. I just change the text area to input and it worked fine.

 

Many thanks.

 

<input class="element_2"

 

Shoot, my bad. Didn't even realize I posted a <textarea> in my example.

 

For <textarea>, it works a little different. So, you can keep your textarea, just use the following code:

 

<textarea class="element_2" name="aboutcompany" class="element textarea medium"><?php echo (!empty($row['aboutcompany'])) ? $row['aboutcompany'] : ''; ?><textarea>

Link to comment
Share on other sites

Hi,

 

Whats the difference betweent the two?

 

This code has helped massively. Ive also sorted out my header. I was previously echoing the first name the user submitted. So if someone did change their name the site would continiously show there old name.

 

Is it possible to do this with drop down menus. I have 2 drop down menus that I need to change to this method.

Link to comment
Share on other sites

Hi,

 

Whats the difference betweent the two?

 

This code has helped massively. Ive also sorted out my header. I was previously echoing the first name the user submitted. So if someone did change their name the site would continiously show there old name.

 

Is it possible to do this with drop down menus. I have 2 drop down menus that I need to change to this method.

 

Are you asking the difference between a <textarea> box and an <input> field? If so, see here.

Link to comment
Share on other sites

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.