close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HTML Editor Generating Bad Code

Thread began 12/18/2014 1:12 pm by DeanCollins | Last modified 12/19/2014 1:25 pm by DeanCollins | 366 views | 2 replies |

DeanCollins

HTML Editor Generating Bad Code

Dreamweaver CC 2014.1, Windows 8.1, Dell Inspiron with 8GB memory, etc.

Just last week I had no problem inserting the HTML editor into Data Assist insert and update pages. Then yesterday, the component went nuts, or something. I gave up after several hours, then tried again this morning. I got one inserted -- by using all default settings (no presets or customizations). Then it did it to me again when I tried the second one.

New to these Webassist components, I finally figured out what was wrong. The editor insert operation was leaving a remnant from the text area code:

<textar

And, at the bottom in the validation section, it was failing to include the opening PHP tag and the "i" in the first if statement. So, instead of ...

<?php if (ValidatedField('jobslistingsupdate','jobslistingsupdate')) {

... it generates only ...

f (ValidatedField('jobslistingsupdate','jobslistingsupdate')) {

Doesn't look like anyone else is having this problem, so I hope things will get better with the next version.

Sign in to reply to this post

Jason ByrnesWebAssist

I'm not able to reproduce this.

Are you using Code View when inserting the HTML Editor?

You should be using Design View instead.

it sounds to me like you have an existing text area that you are converting to an HTML Editor instance?

In Design View, select the Text area, then in the Code inspector along the bottom of the design Window, select the Text area tag, then go to WebAssist -> Forms -> HTML Editor -> Insert Editor to insert the new HTML Editor instance.

Sign in to reply to this post

DeanCollins

Thanks. I was doing everything except selecting the textarea tag. That clears up the textarea remnant problem and most of the PHP tag problem in the validation section. It still misses the opening "<" before "?php" but I can live with that. It's an easy fix.

Sign in to reply to this post

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...