• Resolved jimlongo

    (@jimlongo)


    Hi, Thanks for your work on this plugin, it is very useful for the project i’m on right now.
    I’m looking to change a form based on session variables.

    Is it possible to have a basic form, then add new inputs at a particular line in that form.

    Let’s say I always want the following, so I have a form with this information which is displayed on the page.
    Name
    Email
    Address
    City
    PostalCode

    Then at this point depending on the session values I want to dynamically add one or more of the following sets of inputs
    Name1
    Email1
    d.o.b.1

    How can I do that? So far when I’ve added dynamic elements they create a new form above my existing form.

    Thank you.

    https://wordpress.org/plugins/cforms2/

Viewing 1 replies (of 1 total)
  • Plugin Author bgermann

    (@bgermann)

    You can use insert_custom_cform() function to generate forms based on session values. See in Help: “Advanced: Real-time creation of dynamic forms”.

Viewing 1 replies (of 1 total)
  • The topic ‘Dynamic Form’ is closed to new replies.