How to embed php form in pages (generated by phpform.org)

Modules, Add-ons and custom code that's more than just a quick hack or Mod.
Post Reply
softwaremaster
Posts: 8
Joined: Thu May 05, 2011 6:04 pm
Location: pk

How to embed php form in pages (generated by phpform.org)

Post by softwaremaster »

hy,

I am feeling trouble to add my php form generated by http://www.phpform.org in interspire page using html option of editor. So, can anyone help me to solve this problem out and let me guide how i can show form with proper look and hints.

I added the javascript file to template/javascript/form/view.js folder and css to template/my template/styles/view.css.

It's still not showing correct?
CharlieFoxtrot
Confirmed
Confirmed
Posts: 413
Joined: Sun Aug 09, 2009 1:23 pm

Re: How to embed php form in pages (generated by phpform.org

Post by CharlieFoxtrot »

Argh! ~ Based on the title of this post, I thought it was instructions... on "how to embed php form in pages".
ISC 4.0.7

"... and let's be honest that whole "by design" thing is getting old too."
softwaremaster
Posts: 8
Joined: Thu May 05, 2011 6:04 pm
Location: pk

Re: How to embed php form in pages (generated by phpform.org

Post by softwaremaster »

:D
MegaFemaTron2
Confirmed
Confirmed
Posts: 84
Joined: Thu Oct 13, 2011 8:37 pm

Re: How to embed php form in pages (generated by phpform.org

Post by MegaFemaTron2 »

Oh, I use a hosted version (MachForm) of this and love it! I use iframe code to embed all of my forms in ISC. I create all kinds of forms for my site because I have a radio station and what not integrated into it too (also added to a page via iframe). So, if you upload your whole form folder to your server you can then add the iframe code to reference it when you create a page.

Example: <iframe height="927" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%;border:none" src="http://www.yourwebsite.com/formfolder/formname.html" title="Contact Us"><a href="http://www.yourwebsite.com/formfolder/formname.html" title="Contact Us">Contact Us</a></iframe>

If you do this, turn off that crazy wysiwyg editor first, then add the code and then turn the editor back on and never edit the page with the editor turned on or it will strip out all of your style info.

The code above is code that is automatically generated for you if you were using MachForm so it should work for you.

Using iframe, you won't have to move any files or add any references to the form other than the iframe code. Pretty easy. And it integrates nicely into your site and if you don't like the way it looks you can easily edit it would messing up anything else in ISC.
ISC 6.1.1 Ultimate Edition
Post Reply