I'm still not entirely sure what you are trying to do. The Simple Text field is just a text input. The Custom Field can also be configured as a text input. The only difference is the Custom Field data gets used to create a custom field when the form creates a post.
What you want to do is possible using the content template functionality of the Custom Field that is available in the Post Fields toolbox.
- Add a Single Input field to your form, give it a field label of whatever you want.
- Add a Custom Field from the Post fields to your form, give it a field label of whatever you want.
- Save your form
- Select continue editing
- Now edit the Custom Field you added
- For Custom Field Name and choose an existing custom field name or select New and type in the name. This is the key that is used to store that custom field. It should not contain any spaces or special characters.
- Check the "Create content template" checkbox
- Clear the value of the content template so it is empty. Now in the "Insert form field" drop down above it, select the Single Input field you want to populate the value of this custom field with. See this screenshot: http://i.imgur.com/BSxBe.png
- Select the Advanced tab
- Select "Admin Only" under visibility
- Save your form
If you followed the steps above properly, when you submit the form that Custom Field will be hidden and it will be populated with the value of the other Single Input Field on your form when the post is created.
But again, I don't see why you need to do this with 2 fields. Having one field that simply populates another is redundant.
Posted 13 years ago on Wednesday September 21, 2011 |
Permalink