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

rating

use KFM on html forms

Thread began 5/18/2010 1:37 pm by victor278184 | Last modified 5/20/2010 9:49 am by Jason Byrnes | 853 views | 4 replies |

victor278184

use KFM on html forms

hello, as i see on HTML Editor, i could use KFM when i click on "Browse Server". Now i would like to know if i could do the same thing on html form..

if i had form design like.. Product Image : __________ [Browse Server]

when i click browse server .. KFM appear and return seleteced image filename (with path).

is it possible ?

Sign in to reply to this post

Ray BorduinWebAssist

It is possible.... but requires a little coding by hand currently.

If you had a button with id="browsebtn" and a text field with id="textField"

You could add code like:

<script>
window.addEvent('domready', function() {
var el=document.getElementById('browsebtn');
el.onclick=function(){
window.SetUrl=(function(){
return function(value){
document.getElementById('textField').value = value;
}
})(this.id);
var kfm_url='../../../HTMLEditor/Editor/plugins/kfm/index.php';
var kfmwindow = window.open(kfm_url,'kfm','modal,width=600,height=400');
kfmwindow.focus();
}
});
</script>
Sign in to reply to this post

Jason ByrnesWebAssist

Yes, i believe the KFM can be used in stand alone forms.

See the KFM website for details on how to accomplish this:
kfm.verens.com/

Sign in to reply to this post

victor278184

Hello, thanks for your reply,
could i give you a live link to check (out of this forum of course since it's a live site)... i tried and tweak the code without sucess

Secondly i notice i'm able to directly open KFM via url which can be security flaw..
is there anything i could do to prevent this (maybe use security assist module)

Sign in to reply to this post

Jason ByrnesWebAssist

The stand alone KFM is not really something wee can offer a lot of support for, If you are having problems implementing it, you should post in the KFM support groups.

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