• Resolved HgtuRgg

    (@kalyanbratadas)


    Hello David,

    I must say you are doing an AWESOME job. Kudos to your efforts.

    Anyway, once I have updated your plugin to the latest one, I see the conditions that I set are not working at all. No effect even I had conditions set for some of the fields?

    Thanks David for your time. I am sure you will find out a way for this.

    Kalyan

    https://wordpress.org/plugins/caldera-forms/

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Contributor David Cramer

    (@desertsnowman)

    I recently changed the instance ID’s – I’ll check that they did not cause issues with the conditions. thanks for pointing it out..

    Plugin Contributor David Cramer

    (@desertsnowman)

    Conditionals are now working again in v1.1.1
    So sorry for messing it up.

    Didn’t want to start a new thread so I’ll post mine here. Either I am not using it right or its not working at all. I am using a multi-page form.

    What I am trying to do is if a service isn’t listed using a check box the customer can select “Other (If other please explain in message)” when “Other (If other please explain in message)” is selected I want a textfiled paragraph to open or show.

    The check box group is labeled “Service Inquiries” with several check-boxes in the group, and one check box is labeled “Other (If other please explain in message)” and my message box is “Other Services” my conditions would be for: “Other Services” Hide – if “Service Inquiries” is not “Other (If other please explain in message)” Correct or did I totally loose you?

    Example:

    Service Inquiries
    check box Service 1
    check box Service 2
    check box Other (If other please explain in message)

    Other Services Message box <!–Should Be Hidden – Unless “Other (If other please explain in message)” is checked!

    It is showing up in the preview. Once I am done I will upload it to the “Help Wanted – Large Forms” thread for others.

    Here is the code:

    <div class="form-group">
    	<label for="fld_8465660" class="control-label">Service Inquiries <span class="field_required" style="color:#ff2222;">*</span></label><p></p>
    <div class="">
    <div class="checkbox">
    								<label><input data-field="fld_8465660_1" id="fld_8465660_1_opt1041840" class="fld_8465660_1" name="fld_8465660[opt1041840]" value="General Inquiry" type="checkbox"> General Inquiry</label> 
    								</div>
    <div class="checkbox">
    								<label><input data-field="fld_8465660_1" id="fld_8465660_1_opt1117121" class="fld_8465660_1" name="fld_8465660[opt1117121]" value="All Website Related Inquiries" type="checkbox"> All Website Related Inquiries</label> 
    								</div>
    <div class="checkbox">
    								<label><input data-field="fld_8465660_1" id="fld_8465660_1_opt3022562" class="fld_8465660_1" name="fld_8465660[opt3022562]" value="Handyman" type="checkbox"> Handyman</label> 
    								</div>
    <div class="checkbox">
    								<label><input data-field="fld_8465660_1" id="fld_8465660_1_opt3396702" class="fld_8465660_1" name="fld_8465660[opt3396702]" value="Landscaping" type="checkbox"> Landscaping</label> 
    								</div>
    <div class="checkbox">
    								<label><input data-field="fld_8465660_1" id="fld_8465660_1_opt5108995" class="fld_8465660_1" name="fld_8465660[opt5108995]" value="Errands / Pick Up / Drop Off Service" type="checkbox"> Errands / Pick Up / Drop Off Service</label> 
    								</div>
    <div class="checkbox">
    								<label><input data-field="fld_8465660_1" id="fld_8465660_1_opt6249914" class="fld_8465660_1" name="fld_8465660[opt6249914]" value="Home Services" type="checkbox"> Home Services</label> 
    								</div>
    <div class="checkbox">
    								<label><input data-field="fld_8465660_1" id="fld_8465660_1_opt6897523" class="fld_8465660_1" name="fld_8465660[opt6897523]" value="Add a Testimonial" type="checkbox"> Add a Testimonial</label> 
    								</div>
    <div class="checkbox">
    								<label><input data-field="fld_8465660_1" id="fld_8465660_1_opt7565892" class="fld_8465660_1" name="fld_8465660[opt7565892]" value="Other (If other please explain in message)" type="checkbox"> Other (If other please explain in message)</label> 
    								</div>
    <p>										<span class="help-block">Please select a service you are inquiring about. You may select more than one.</span>
    	</p></div>
    </div>
    <p><span class="caldera-forms-conditional-field" id="conditional_fld_3250733_1"></span></p><div class="form-group">
    	<label for="fld_3250733" class="control-label">Other Services</label><p></p>
    <div class="">
    		<textarea placeholder="Explain" data-field="fld_3250733_1" class="form-control" rows="4" id="fld_3250733_1" name="fld_3250733"></textarea>
    			</div>
    </div>
    <p>
    </p><div class="form-group">

    Thank You for your time.
    -Phil

    Plugin Contributor David Cramer

    (@desertsnowman)

    Hi Phil,

    Can you export the form and send it to me to take a look?
    email david@caldera.co.za

    yes I’ll mail it. Hey Dave love the quick support thanks a million +1

    Okay it works since I updated to v1.1.1 but the “Other Services” message box is still visible and when I check “Other (If other please explain in message)” a new one appears so something isn’t right still. I have two now only when I select the check box “Other (If other please explain in message)”

    By changing the name from “Other Services” to “New Services” and the conditions to SHOW if “Service Inquiries” is “Other (If other please explain in message)” WORKS!

    New Problem
    Now if I do one for “Add a Testimonial”
    Feedback Stars
    SHOW if “Service Inquiries” is “Add a Testimonial”
    The text shows “Rate your experience” but the Stars do NOT Show.

    Was wondering how you collected the information input from the fields in your confirmation page. Conditions?

    Plugin Contributor David Cramer

    (@desertsnowman)

    I try to respond as quickly as I can.
    With the stars not showing, I think the init callback is not firing. I’ll takes a look.

    Hire the conditions work is I place a listeners and wrappers on conditional fields. When any of these change the the conditions are reevaluated, inserting fields that match with a show and remove fields that match with with a hide.

    On submission, the PHP also does an evaluation only capturing fields that should be visible.

    Well version 1.1.2 is better so far it wont let me continue to the next pages without filling in the required fields first. +1 and the feedback stars are still NOT firing. Also I had to delete the old version before and download the new version from the hub because it gave off an error and wouldn’t activate. Strange thing is I deleted the plugin but my form where still there.

    David I am not in a pinch without this. I really like this plugin and want my client to have use of it. So no regrets if your a little late on getting back with me. Visited your website today and been looking at other work of yours nice job. I get better service here than I do at most restaurants lol. Your doing a great job don’t sweet it.

    Plugin Contributor David Cramer

    (@desertsnowman)

    I updated again – still v1.1.2 please try download hte plugin again. I had an SVN issue and it left out new files….. I HATE SVN!!!

    anyway… I make sure that deleting the plugin retains the data. I hate it when you remove something and loose all data.

    Sorry about the problem.

    Plugin Contributor David Cramer

    (@desertsnowman)

    @phil – no worries. I made a huge change to the core and for some reason the SVN left off the new files. I updated them now with the same version number. will address other issues as they come. please try re install the plugin. no data will be lost.

    so just download it from the hub and unzip it in the plugins?
    I updated it 1 hour ago

    The plugin works after I downloaded it an hour ago from the Hub its activated. Version 1.1.2 is better so far it wont let me continue to the next pages without filling in the required fields first. +1 and the feedback stars are still NOT showing up. I am tempted to start looking at the code.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Conditins are not working at all’ is closed to new replies.