Email element field disappears from...

User 98258 Photo


Registered User
6 posts

When I make the email element show based on a display rule it disappears from the Settings->Email Notices->Notification & Auto-Response message Reply-To and To dropdowns. What I've got is a checkbox above an email element that indicates the person filling out the form wants to receive a confirmation email. See attached screenshots that demonstrate the problem. Any help would be appreciated, thanks.
Attachments:
User 187934 Photo


Senior Advisor
20,271 posts

Try setting them to required.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 98258 Photo


Registered User
6 posts

Thanks for the suggestion Eric. However, changing the email to required didn't make the email field appear in the settings screen. The only way it appears is if I change the display rule to always instead of "using a display rule". Any other ideas?

Thanks
User 187934 Photo


Senior Advisor
20,271 posts

Is the email being hidden before submission? It must be showing when the user clicks the submit button.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 98258 Photo


Registered User
6 posts

The email field name is not appearing in the drop down list in the settings screen on the Email Notices Tab. I've got the Notification Message and Auto-response message checkboxes checked. The Reply-To: and To: dropdowns do not show the email field if the email fields show element property is set to "using a display rule". If I change the email fields show element property to Always, then the dropdowns on the settings correctly show the email field. However, I have a checkbox that indicates the user filling out the form wants to receive an email, so I need the display rule.
User 38401 Photo


Senior Advisor
10,951 posts

This is exactly the same thing I've been wrestling with finding a work around for Eric :P (in our emails).

Robert, the issue is due to the fact that email elements "cannot" be setup with a conditional and work normally. I'm sure there are some instances where it can be done, but there are a lot of features that cannot be used if you try doing that so for the most part that is not a feature of the program. You will need to set your email field to not have a conditional in it in order to setup the Reply and Response email setups as it won't let you do it any other way.

@Eric: This is what I was talking about in the email earlier, trying to get this to work with all settings being able to be used for the Reply and Response emails. If you attempt to setup a conditional on an email field, you cannot use the Reply or Response email setups at all. At least no way I can see and Scott says this is not something the program is setup to do so it may need to be a work around to be able to hard code (may not be the right term there) the email fields into the files manually?

@Robert: For now I would do as suggested above though and remove the conditional from the email field. Watch this post here though, if I do find a way around this I'll post it or someone will. :)
User 187934 Photo


Senior Advisor
20,271 posts

Ok now I'm seeing it and I thought maybe Robert's issue was related. Let me check this out.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 98258 Photo


Registered User
6 posts

Jo Ann: Thanks for your input. I'll keep an eye on this forum in case someone comes up with a solution. So for now I'll follow the advice I got here and remove the condition.

Jeff: Thank you for looking into this.
User 187934 Photo


Senior Advisor
20,271 posts

Ok I through something together. I sent JoAnn a link to test.;)
She or I will post back with the results. If it works the way she wants I will provide the instructions.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 187934 Photo


Senior Advisor
20,271 posts

Ok got some feed back and it appears this will work.
<script src="common/libs_js/jquery-1.4.4.min.js"></script>
<script type="text/javascript">$(document).ready(function(){
$("#item1").hide();
$('#item2_text_1').blur(function(){
if ($.trim($('#item2_text_1').val()).length !== 0){
$("#item1").show();
}
});
});</script>


Place the code above into an HTML element in the form builder.
Preview your form in the form builder and look at the source code to get the ID's of the email element and the Input you'll be checking for a value.
Adjust the #item1 to the div id that holds your complete email element.
Adjust the #item2_text_1 to the div id that is assigned to the actual input .
As it is now it will work with any thing taking input from user where they type a value. If you need it to respond to a check box or radio button I'll have to tweak it a little.
JQuery to the rescue.:cool:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.