I have a postype 'membre" and have created a form (inscription-membre-modif) to modify this postype.
So, I want to integrate the form inside a specific page and have placed this code :
[cred_form form='inscription-membre-modif' post='[wpv-view name="recup-id-du-post-membre-pour-connecte"]']
The Views (recup-id-du-post-membre-pour-connecte) is returning the ID of the post membre linked to the logged in user.
When used like this, the form is not displayed. The error message is : the Toolset form inscription-membre-modif does not exist.
If I just place the [wpv-view name="recup-id-du-post-membre-pour-connecte"], then, I'm getting 620 (620 is the ID of the post "membre" where I'm the author)
Now, if I'm using this code [cred_form form='inscription-membre-modif' post='620'] , then the form is correctly displayed.
Is there something wrong with using a Views inside the form ?
Let me know
Regards
Pat
Hello. Thank you for contacting the Toolset support.
Can you please make sure that checkbox "Disable the wrapping DIV around the View" available on your edit view page just after the "Loop Editor" is checked and then try and see if helps you to resolve your issue?
Just do it and this is not changing anything. Here is my Views code :
<!-- wpv-loop-start --><wpv-loop>[wpv-post-id]</wpv-loop><!-- wpv-loop-end -->
Regards
Pat
Can you please share the problem URL where you added the form and access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Can you please share the problem URL where you added the form and access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it
That's working fine now.
Many thanks.
Perhaps a proposal for an evolution : having a button to clean all non necessary characters in the loop when somebody needs to get only the result content and nothing else (same kind of button that "Disable the wrapping DIV around the View" or improve the current button with improved cleaning?