Hi there, I am using CC6 and CF6. I have a connection with a Form view that is using {chronoform:FormName} to load my form. After some hunting through this forum, I figured out how to put {var:read_data2.Data2} into the Data Provider box so that my form will be pre-filled with the data from the connection Function.
However, I ran into a problem with a textarea.
The value for the textarea field should be:
But when I view the source of my form, this is what I see:
It's breaking the form so that it tries to put all the fields after the textarea into the textarea box too.
Help please!
EDIT: On a somewhat related note, I noticed that the Date fields also aren't filling in properly. I think this is because the values are in the wrong format from what the Date fields expect, but I can't figure out the correct location and syntax for reformatting the values. With CC5/CF5 I would just use PHP in a custom code box in the form's load event. If anyone has any advice on that...
However, I ran into a problem with a textarea.
The value for the textarea field should be:
<p>Test Intro</p>
But when I view the source of my form, this is what I see:
<textarea data-editor="1" data-autoresize="1" rows="10" name="intro" id="intro" value="<p><p>Test intro</p></textarea>
It's breaking the form so that it tries to put all the fields after the textarea into the textarea box too.
Help please!
EDIT: On a somewhat related note, I noticed that the Date fields also aren't filling in properly. I think this is because the values are in the wrong format from what the Date fields expect, but I can't figure out the correct location and syntax for reformatting the values. With CC5/CF5 I would just use PHP in a custom code box in the form's load event. If anyone has any advice on that...