We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40088
    • 708 Posts
    @BobRay,

    Is it possible to hand-code a NP form?

    As flexible as NP is with regard to generating the form fields I want more granular control over the end result which I could do much more easily if I hand-coded the form. As long as I ensure the proper NP syntax and placeholders it should work, shouldn't it?
      Todd
      • 3749
      • 24,544 Posts
      I don't think it's possible. NP uses the &show property to create the form and it pulls in a Tpl chunk for each item in that property. You can substitute your own Tpl chunk for any of them, but if you create your own form, it will still pull in the chunks if they're listed in the &show property. The &show property is used to distinguish resource fields from TVs, and if it's missing or empty, NP will have no way to tell TVs from resource fields.

      It might be possible if there are no TVs at all and you set &show=``, but I couldn't guarantee that it would work.
      [ed. note: BobRay last edited this post 11 years, 6 months ago.]
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting