• Hi, I have used your plugin free version.
    in my form’s last step, I”m showing the inputs given by the users as [multiform] tag
    those inputs are not required and I have made a table <td>Middle Name<td><td> [multiform middle-name] </td>
    Now if a customer comes and he doesn’t have a middle name
    My output comes like Middle Name : (blank) on the last page.
    This looks quite weird.
    Is there any way to hide this whole term if the [multiform] field is empty?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author webheadcoder

    (@webheadllc)

    Hi,

    The “Conditional Fields for Contact Form 7” plugin by Jules Colle is a great plugin that I believe can do what you’re asking.

    Thread Starter sakina990

    (@sakina990)

    Hwllo, thankd for the reply. I have used that plugin as well for my conditional fields, but in the last step of my summary, in the <form> tab, the [multiform] tag is not working.

    Your name
    [multiform “your-name”]

    Email Address
    [multiform “your-email”]

    Date of Birth
    [multiform date-of-birth]

    Gender
    [multiform gender]

    City
    [multiform city]

    See this, if someone is not putting City, the output would be City:(blank space.)

    Getting my point?

    Plugin Author webheadcoder

    (@webheadllc)

    If I understand you correctly, whenever city is empty you want to hide:

    City
    [multiform city]

    To do this, you can do:

    [group group-1]
    City
    [multiform city]
    [/group]

    Then, on the “Conditional fields” tab you can set group-1 to only show if “city” is not empty.

    Apologies if I’m still misunderstanding.

    Thread Starter sakina990

    (@sakina990)

    Exactly this is what I did.
    But it’s not working ??

    I guess the conditional logic plugin is not picking up the fields from the [multiform] tag.
    Can you check, because i dont see any error on the console.

    Thread Starter sakina990

    (@sakina990)

    The conditional logic is not recognizing the [multiform] tag, it recognizes only default tags like [text] [tel][email] etc.
    That’s why in the 3rd part, where I’m showing the summary, the logic is not working.

    Plugin Author webheadcoder

    (@webheadllc)

    Oh shoot, that’s right. You can add a hidden tag like [hidden city] so that it’s recognized.

    Thread Starter sakina990

    (@sakina990)

    didn’t get it?
    well, how?
    if it’s hidden, then it wont be shown on the summary page!

    Thread Starter sakina990

    (@sakina990)

    should i give you the link to my form? i created so that you can check?

    Plugin Author webheadcoder

    (@webheadllc)

    You can have both the [multiform city] and [hidden city] on the same page. One just displays the value the other is a hidden input. Conditional fields will read the value in the hidden input.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘In the last step hide the fields if they are left empty’ is closed to new replies.