Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MartinB 411 posts 512 karma points
    Dec 08, 2011 @ 13:20
    MartinB
    0

    1.3 - Multiple forms on same page and items showing in topNav

    Hi there

    Great package!

    I need to have a static form on almost all my pages (Support form) and then i would very much like to be able to take advantage of other forms on different landing pages etc.

    The documentation just says:

    "Additional work is needed if you wish to use two Pliable Forms on the same page as the field IDs will conflict."

    How would one go about this?

    Also my form appear in my top navigation, should i just add the umbracoNaviHide property to the form doctype?

     

  • MartinB 411 posts 512 karma points
    Dec 08, 2011 @ 13:54
    MartinB
    0

    Also i ran into the following.

    When creating a node with the Form template -> Node with the Fields template -> Field node = nothing displays.

    If i go about it this way: Node with form template -> Field node = field is displayed.

    But no matter what i do, i get this error msg:;

    The parameter 'address' cannot be an empty string. Parameter name: address

    I guess i relates to a normal form where you would have an adress field. which i do not need for this form, or is it something else?

  • MartinB 411 posts 512 karma points
    Dec 08, 2011 @ 15:14
    MartinB
    0

    Alright, got the parameter stuff sorted by adding the following keys to the webconfig (snatched from another bug report):

    <add key="PliableForm.defaultEmailSubject" value="Contactform" />
    <add key="PliableForm.defaultToAddress" value="[email protected]" />
    <add key="PliableForm.enableSsl" value="True" />
    <add key="PliableForm.fromAddress" value="[email protected]" />
  • Jon Cuthbert 84 posts 173 karma points
    Dec 09, 2011 @ 02:41
    Jon Cuthbert
    1

    To use two forms on the same page it should work to use separate xslts for each form (you are probably doing that anyway) that way you can assign different ID's to contain the form. Then you will need to edit the javascript to support the new additional ID.

    Good luck,

    Jon

  • MartinB 411 posts 512 karma points
    Dec 09, 2011 @ 13:08
    MartinB
    0

    Hi Jon

    Thanks for you reply.

    I'm not so much a developer as i am a somewhat technically skilled designer, so everything developer related is kinda 'heavy learning' :-)

    I can see that the formNodeId is picked through a contentpicker, which i did for my first form also, so i presume that as long as i do it like that, the form ID's will be different or are you refering to the <form> tag ID?

    I think that the ability to insert an unlimited amount of forms on the same page would be a great addition this package, whether it is possible or not i don't know.

    I'll have a stab at it and hope for the best!

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft