I'm trying to add an e-mail form, using <form>, to one of my fragment pages but I can't get it to work - are there any issues in using <from> with Actinic?
Announcement
Collapse
No announcement yet.
E-mail form
Collapse
X
-
FORMS withing Fragments should be OK - assuming that each Product has it's own Add to Cart button.
FORMS within Products will be problematic as each Product is within an Actinic Generated FORM and you cannot nest FORMs.
If you use the Single Add to Cart per page then the entire product list (including any Fragments) is within a FORM making it very difficult for you to place your own one.Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
-
Norman
My fragment is part of a sub-section without any products on it.
<form method="post" enctype="multipart/form-data" action="http://pub45.bravenet.com/emailfwd/senddata.php">
Form details added plus send button then...
</form>
Why doesn't this worK??? Does it conflict with something within Actinic? It works OK on a basic webpage.
Dave
Comment
-
Without seeing the page we've no idea why it won't work. Post an URL so we can see what's happening.Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Comment
-
I seem to remember when i was creating an "add to mailing list" form on the product pages there is a full form that takes up the entire product area,
I had to edit my Act_primary and put the mailing list form at the bottom after the </form> tag
this will however mean that your form will appear on EVERY page that uses act_primary (probably all your product pages) but thats what we wanted
Comment
-
You've got nested forms there. Actinic seems to be putting a form around all these fragments (I assume they're fragments - is this a Brochure or Product Page?).
The easiest (and slightly kludgy way) to fix this is to make sure your form is at the bottom of the page and start your code with </form>. This will end the Actinic form and leave a spurious </form> tag at the bottom of the page which browsers will ignore.
You could also try doing as above but adding leaving out your own </form> tag and let the final Actinic one replace it.Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Comment
-
Stick a <form> before your >!! and that will take care of the extraneous trailing </form> that Actinic is putting in.Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Comment
-
Yes. You should have
!!<
</form>
Your form stuff
<form>
>!!Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Comment
Comment