Forum Replies Created

Viewing 15 replies - 46 through 60 (of 75 total)
  • Thread Starter chadtesting

    (@chadtesting)

    I like the way you think. Perhaps this is a better question then.

    How do I tell a calculation not to calculate if the value of a checkbox on my form is a certain value?

    For example, I have a checkbox with the following values

    red
    yellow
    green
    blue

    How do I tell my calculated field not to calculate if the value = ‘blue’, and tell a fieldset to hide if value = blue?

    I’m hoping a calculation can override the CSS show/hide values.

    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    Thread Starter chadtesting

    (@chadtesting)

    To give an example, I have logic that ‘shows’ a fieldset when a certain dropdown is selected, but the contents nested within the fieldset may all be hidden.

    In the case where all elements in a fieldset are hidden, I want to re-hide the fieldset as well. Otherwise it shows up as an empty square with a label.

    Thread Starter chadtesting

    (@chadtesting)

    Hi, thanks very much! I see that you can insert images into the e-mail, even inside the legend, which is nice for formatting.

    I also understand that you can do your text formatting directly inside the e-mail. Also, I figured out the ‘hidden field’ trick last night while playing around. So I am actually using it for my e-mail, while hiding it from my form.

    I hope I don’t break your plugin with the amount of <block><unblocks> I’m going to need to put into that e-mail. We’re talking thousands. For future updates, it would be nice to add the feature to be able to <block><unblock> fieldsets. It would really reduce the amount of work needed for large forms with a lot of nested conditions.

    • This reply was modified 8 years, 1 month ago by chadtesting.
    Thread Starter chadtesting

    (@chadtesting)

    OK so by using text fields I think I can get my intended result. In fact, I think I can use hidden fields and get an HTML output on my form and a plain text output in my e-mail.

    The problem is that you have to set up a block/endblock for every single conditional field!

    If I work that out for my form, that’s going to be around 5,000 lines of code in the e-mail form since I have a star rating from 1-5 for about 1,000 different programs.

    I would still love to know whether it’s possible to get an img in that e-mail.

    • This reply was modified 8 years, 1 month ago by chadtesting.
    Thread Starter chadtesting

    (@chadtesting)

    Ahh OK, so Fieldset fields, html, media fields or instruct can NOT be included in the e-mail. OK, well that’s unfortunate because it means I can ONLY use input, select and textarea (like number, e-mail, dropdown).

    So then my question to you is:

    If I want to conditionally output a .jpg image into my e-mail, or rich HTML text, what is the best way to do this?

    Because currently everything I want to output in my e-mail is either in the fieldset labels, or in HTML fields.

    Keep in mind that if I can only use plain text in my e-mail, then it needs to be hidden from my public page, since text fields tend to be blocky and ugly. So they need to be shown but still hidden if you catch my meaning.

    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    Thread Starter chadtesting

    (@chadtesting)

    OK so assuming <fieldname148> is a fieldset. In order to return the fieldset label, I should be able to use the following:

    <%fieldname148_block%>
    <fieldset>
    <legend>First Group</legend>
    <p><%fieldname148_label%></p>
    </fieldset>
    <%fieldname148_endblock%>

    This should return the label of the fieldset provided it is not hidden, correct?

    Thread Starter chadtesting

    (@chadtesting)

    There is no content I want to deliver in the e-mail except the fieldset labels and an html field. That has all the content I need.

    If you’re saying I can just use

    <%fieldname1_block%>
    <%fieldname1_endblock%>

    and it will deliver everything dependent in-between, then it’s not working. The e-mail displays nothing.

    Thank you.

    Thread Starter chadtesting

    (@chadtesting)

    I just need to display everything visible within a fieldset, as it appears in the output. That includes fieldset labels.

    When I try to reference a fieldset label using <%fieldname#_label%> nothing appears in the e-mail.

    Being able to show/hide based on fieldset is fine, but the way the plugin is set up, the fieldset itself has a label, so obviously that label (and all of its associated formatting) will need to be referenced when outputting e-mails.

    • This reply was modified 8 years, 1 month ago by chadtesting.
    Thread Starter chadtesting

    (@chadtesting)

    Correction above re: fieldnames

    1.) Each fieldNAME will only be shown once per nested fieldSET.

    2.) I incorrectly called my fieldname output an ‘html fieldset image’. It’s just an image linked to from the html field.

    Also consider that my finished form will have over 1,000 unique fieldsets and I will need to reproduce this logic for every e-mail sent.

    I think the issue here is that I’m not looking to output what the user inputs, rather I am looking to output the contents of several entire non-hidden fieldsets (and nested fieldsets and fields within those nested fieldsets) that is generated from the user’s selection.

    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    Thread Starter chadtesting

    (@chadtesting)

    Thanks, I think this is a good start. I will further explain.

    I have the following setup as my outputs

    <fieldset1>
    //has the following fieldsets nested inside it
    <fieldset2>
    <fieldset3>
    <fieldset4>
    >

    AND

    <fieldset5>
    //has the following fieldsets nested inside it
    <fieldset6>
    <fieldset7>
    <fieldset8>
    >

    Whether I show <fieldset1> AND/OR <fieldset5> is conditional based on a dropdown. I may show none, either or both. Furthermore, assuming I am showing <fieldset1>, whether I show <fieldset2> or <fieldset3> or <fieldset4> is also conditional, and I may show at least one or several.

    Further, inside each NESTED fieldset (ie. <fieldset2>) there are 5 HTML fields which are also conditional based on a hidden calculated field that resides in each NESTED fieldset. For example, let’s assume the HTML fields are <fieldname1>, <fieldname2>, <fieldname3>, <fieldname4>, <fieldname5>. I will only ever show ONE of these.

    Here is an example of how I want my output e-mail to look

    Hi User,

    Here is your output based on your selections

    <fieldset1_label> (fieldset label image img src=)
    <fieldset3_label> (html modified fieldset label)
    <fieldname3> (html image img src=)

    ^ This is one example. But it could also look like this…

    Hi User,

    Here is your output based on your selections

    <fieldset1_label> (fieldset label image)
    <fieldset3_label> (fieldset label html text)
    <fieldname7> (html fieldset image)
    <fieldset4_label> (fieldset label html text)
    <fieldname12> (html fieldset image)

    <fieldset5_label> (fieldset label image)
    <fieldset6_label> (fieldset label html text)
    <fieldname20> (html fieldset image)
    <fieldset8_label> (fieldset label html text)
    <fieldname21> (html fieldset image)

    Thank you,
    Chadtesting

    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.
    Thread Starter chadtesting

    (@chadtesting)

    Hi, thanks very much for the solution but you may have brought up a good point.

    I am trying to display a “x% complete” slider bar on each consecutive page of my form. How would hidden fields help me accomplish this?

    Thread Starter chadtesting

    (@chadtesting)

    Also need to have dropdowns that will be read-only that I can set for output pages. This will be used for large data sets that I will import via .csv

    Using dropdowns for large repeated data sets makes it easier for reporting.

    Maybe I should make this thread titled “How to make fields other than calculate as read-only”

    • This reply was modified 8 years, 1 month ago by chadtesting.
    • This reply was modified 8 years, 1 month ago by chadtesting.

    Agreed. This is my first foray into the world of WordPress and I am so impressed with how beginner friendly this is.

    Thread Starter chadtesting

    (@chadtesting)

    Thanks very much. I will be purchasing the developer version at the end of this month and down the road a bucket of consulting hours. I really love your plugin. I’ve been able to build some fairly complex logic with zero knowledge of css or jquery based on your guidance.

    flagging this thread as interesting

    • This reply was modified 8 years, 2 months ago by chadtesting.
    • This reply was modified 8 years, 2 months ago by chadtesting.
Viewing 15 replies - 46 through 60 (of 75 total)