I'm using a responsive form and would like to set a field (a single line of tex) with the current user email value/id but it doesn't seem to work.
When i try (In New mode it works but not In Edit Mode).
Is this how it is suppose to work or what am i missing here...
Thanks in advance
You are not missing any it seems .
I think you might be checking the same in Preview > Preview settings > Edit Mode .
The value cannot fetch in Preview Edit mode .
Publish and check you will see the value when you edit the item .
Thanks for your response.
I have published it and opened it aspr normal
I can see the value in the edit mode not a problem and when i go to the list and look at that record it hasn't saved.
Whe we use set,,is it also meant to save?
If a field value is set then it should also be saved to the list in the background as long as the field is connected to a column.
Would using the new responsive form designer be also an option for you? I think that setting values in the new responsive designer is more flexible and robust than the rules engine in the former responsive designer.
If you can use the New Responsive designer like @praios81 suggested here is how you can build your rule in that designer:
In this example I want to populate my email into the Text - Short 1 control only when the form is in edit mode.
When you go into the Rules tab in the new designer you'll notice that you don't have all the same options immediately available in the drop down, just the controls on the form.
You will want to select the 'Insert' option and that will give you all of the context properties that you will be looking for.
You will want to select 'Form mode' from the left menu, and then select the 'Is Edit mode' property.
With that selected you can then set the 'Is Yes' value for your rule.
Next you'll then configure the value for the Text - Short 1 control to be the context email:
When you Create the rule and then publish your form you should find that nothing is populated on New:
But when you edit the form, your email address appears:
Hope that helps!
Thanks for the reply.
I'm using the Response Forms and not the New Responsive designer
I'm using the one below
Thanks and hope this helps