close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Modify Size/Width Of Contact Form (Answer!)

Thread began 6/21/2011 5:28 am by PimpMyHoodie | Last modified 6/21/2011 5:28 am by PimpMyHoodie | 970 views | 0 replies

PimpMyHoodie

Modify Size/Width Of Contact Form (Answer!)

Hi!..

I have been trying to adjust the width of the actual "contact" box but couldn't seem to find a simple solution on the forums.. :-(

However I knew that I'd done it before so thought I'd check on of my old websites and thankfully I found a very simple solution so thought I'd share it!.. (It's actually for my own benefit too!.. ;-)

To change the size of the "Contact" (Sprytextarea1) box:



1) Open the page "Contactus.php"


2) On lines approximately 98-100 you should see the following text:


<span id="sprytextarea1">
<textarea name="Comments" class="inputText" id="Comments" onblur="if (document.getElementById('commentsServerError')) document.getElementById('commentsServerError').style.display='none'" ><?php echo(ValidatedField("contact","Comments")) ?></textarea>
<span class="textareaRequiredMsg">Please let us know how we can assist you.</span></span>


Simply adjust this by adding the following "Style" code:



style="width:600px; height:200px;



Like this:



<span id="sprytextarea1">
<textarea name="Comments" class="inputText" style="width:600px; height:200px; id="Comments" onblur="if (document.getElementById('commentsServerError')) document.getElementById('commentsServerError').style.display='none'" ><?php echo(ValidatedField("contact","Comments")) ?></textarea>
<span class="textareaRequiredMsg">Please let us know how we can assist you.</span></span>


Then re-upload the "Contactus.php" file and it's done!.. :-)

Hopefully this will save someone a few hours of hair pulling!.. ;-D


p.s.

Webassist... why is the "Contact" box so small in the first place? (you can't even see what your writing!).. Can you pass on a suggestion that in future releases/updates the size of the box be increased?.. I'm sure I'm not the only one who thinks this!.. :-)

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...