close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HTML 3 & Transition to FB 2.0.1

Thread began 5/20/2011 7:47 am by Sally | Last modified 5/26/2011 4:31 pm by Jason Byrnes | 1758 views | 5 replies |

Sally

HTML 3 & Transition to FB 2.0.1

I have FB 2 installed and working with a number of forms. One of them was a bugger to get working as it emails to a recordset, with an attached file, and uploads/inserts that file into a database. Jason helped me with it and frankly I'm afraid to touch it now that it's working.

Except that I want to add html to the form and modify the layout/design by making the form itself larger and also some of the form fields. In looking at downloading the HTML 3.0.1 editor, it says to download FB 2.0.1 first. So I'm seeking advice on the best way to approach this.

1) Do I need to uninstall FB 2 prior to installing FB 2.0.1?
2) Will installing FB 2.0.1 require updating or altering my current forms?
3) If I edit the design & layout of my form (using Edit Form/Edit Contents/Edit Design buttons) will that alter the code having to do with emailing the recordset, uploading/inserting file into db? Specifically, I believe what Jason helped in getting tweaked had to do with the order that code appeared on the page, although it was about six months ago so I'm not sure that was all there was to it.
4) Once I upgrade to FB 2.0.1 and install the HTML editor, can I just add HTML editing to my form without overwriting any of the code that emails and uploads/inserts file?

Sorry if I sound paranoid, I just want to know if I'm opening a can of worms as the form does work now, and this is really only needed because I'd like to change the layout design of the form and add HTML editing to it.

Thank you for any advice on how to best approach this.

Sign in to reply to this post

Jason ByrnesWebAssist

  1) Do I need to uninstall FB 2 prior to installing FB 2.0.1?  



yes, any time you install a new version of an extension, you need to uninstall the previous version.

  2) Will installing FB 2.0.1 require updating or altering my current forms?  



No, you not need to edit existing forms after installiung the updated version.

  3) If I edit the design & layout of my form (using Edit Form/Edit Contents/Edit Design buttons) will that alter the code having to do with emailing the recordset, uploading/inserting file into db? Specifically, I believe what Jason helped in getting tweaked had to do with the order that code appeared on the page, although it was about six months ago so I'm not sure that was all there was to it.  



No, edit ing the form design will not effect the code for recordsets, uploading or inserting.

  4) Once I upgrade to FB 2.0.1 and install the HTML editor, can I just add HTML editing to my form without overwriting any of the code that emails and uploads/inserts file?  



yes, just make sure that the HTML Editor instance is named the same as the element it is replacing.

It is a good idea to make a backup of the working page before editing it.

Sign in to reply to this post

Sally

Okay I removed FB 2.0, went to the download page and clicked on CSS Form Builder 2.0.1 (HTML Editor Compatibility Release) (16.3 Mb), and then downloaded and installed CSSFormBuilder_023.mxp. But when I look in extension manager, it says FB 2.0.0.

Before I go any further, I need to ask if that's right because that's exactly what my old FB extension said.

Sign in to reply to this post

Jason ByrnesWebAssist

The version shown in the version column will still show 2.0.0, if you click it however, then view the details in the bottom half of the extension manager window, it should show the build number 023

Sign in to reply to this post

Sally

Thanks for your help Jason.

Everything went very well except for two issues in the form that uploads and inserts into a database.

1) One of the form fields is a list field of three items and before the item selected was inserted in the database and appeared on the grid of files as the document Type. Now the word 'array' appears. I can send you the file if it makes it easier to troubleshoot. But all I changed was the form design, including adding html to the comments field (but not the list field).

2) I sent out four messages, each with a file, and they all attached to the email and inserted into the database. But when I go to the site to click on the file and view it, one of them says "Access Denied". I've checked and the file is there on the site and the path is correct - it's the same as the other paths. So I'm a bit stumped on how to trouble shoot this. Any ideas would be appreciated.

All of the other forms that I inserted the HTML editor in work fine.

UPDATE: Forget #2. For some reason the file permissions were different on that one. Got it fixed. But I still need help with getting the Type field to display the selection instead of 'array'. Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code to line 1 of your page:

php:
<?php

if($_SERVER["REQUEST_METHOD"] == "POST")     {
    foreach(
$_POST as $key => $val) {
        if(
is_array($_POST[$key])) $_POST[$key] = implode(", "$_POST[$key]);
    }
}
?>
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...