Tell us what you are trying to do?
Using a Post form to create a Child post from the parent post . We have a child Post form embedded in the parent post . We need to set The featured image of the parent post as featured image of the child post without uploading one more time.
Is there any documentation that you are following?
https://toolset.com/forums/topic/auto-populate-featured-image-field-in-cred-form/
Is there a similar example that we can see?
https://toolset.com/forums/topic/auto-populate-featured-image-field-in-cred-form/
What is the link to your site?
Can you try setting the featured image field value using the wpv-post-featured-image shortcode? If the child post form is embedded in the parent post page, try this syntax:
[cred_field field='_featured_image' output='bootstrap' value='[wpv-post-featured-image output="url" id="$current_page" size="full"]']
Let me know the results and we can go from there.
Dear sir,
I have tested this , its not working .
Tried to hard coded the value part , that also not working
[cred_field field='_featured_image' output='bootstrap' value='hidden link;
Dear Sir,
I have done a rigorous testing on this case.
The code snippet provided by you work in this condition . This condition is a combination of two action.
1. When the form option is set to - After visitors submit this form: Keep displaying this form
2. The visitor submit this form twice from the same page
Visitor first submit the post without image is created and in the second attempt the featured field is populated .
This means this code
cred_field field='_featured_image' value can be used only when we submit the same form twice.
Okay thank you for the additional information. This behavior is unusual. May I log in and take a closer look? I may need to make a clone of your site using the Duplicator plugin so I can run some additional tests without breaking your live site. If you approve, please provide admin login credentials in the private reply fields here and I will get started.
Also, very important - please let me know how to find the child post Form on the front-end of the site after I log in. Thank you!
Dear Sir,
This site is a live site with lot of posts . duplicating means it will take lot of time .
What i will do i will use toolset demo site to clone the situation and share the details with you .
thank you for the hep sir.
Okay, thank you! I have activated private reply fields here so you can share login credentials for the test site.