Confirmation email in Form builder...

User 345797 Photo


Registered User
48 posts

Hi,
I have a series of forms where I pick up the user confirmation email from the first form and pass it through the a session variable to two other forms. The two other forms have the user confirmation email field set to disabled so the email can not be changed. The forms display correctly with the user confirmation email showing but not allowing modification. The first form where the user enters the confirmation email sends out a user confirmation email but all the subsequent forms with a user confirmation email set to use the disabled field, do not send a confirmation to the user.
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Try readonly
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 345797 Photo


Registered User
48 posts

Hi Eric,
The read only sets the field to disabled.
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

The formbuilder wont submit fields set to disabled. Fields set to readonly it will.
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 345797 Photo


Registered User
48 posts

I do have the field set to read only, but in the HTML that becomes disabled.
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Do you have a conditional set on it? All inputs that get submitted need to be showing if you use conditionals. If you want it hidden but still be able to submit it use a hidden input or place your own css on the form to make the field be display none. The form builder won't know you did this and will submit the field.
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 345797 Photo


Registered User
48 posts

I just checked the HTML and I see that there is a readonly attribute. I will try that. Thanks for that information. I thought that checking the read only in the form builder would use that attribute, but it doesn't.
User 345797 Photo


Registered User
48 posts

Just changed the code to readonly and that worked.

Thanks for your help.
User 345797 Photo


Registered User
48 posts

AND NOW for something sort of the same but different.

I have a hidden field, which does come in as hidden and I put into the value box in the form builder <?php echo $ChildRegID;?>

What it sends to the html is
value="&lt;?php echo $ChildRegID;?&gt

How do I get rid of the &It and the &gt and replace with <? and ?>

Also, I double checked and if you choose the readonly check box in form builder it interprets that as disabled. Should it do that? Is that (gasp) a bug?
User 345797 Photo


Registered User
48 posts

Sorry, I forgot to say that there are no conditionals on it, just set to readonly

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.