I am trying to:
I have a Cred form called "add", this CRED form creates child post of a parent post called "UPN"
I am trying to print/send this value on the email. The value is upn_number, parent post "upn"
In the notification I send some info, like this field:
[types field='upn_number' format='FIELD_VALUE' id='$upn'][/types]
I copy paste this , on the notification an when I recieve the email, there is no value, but I put also that line on the cred form (just to output that data an see if there is any value) and I can see the value perfectly. So:
1-The value exist and I can see it on the Cred form as text, so this is OK
2-When I recieve the email there is NO value
3-I tested with a new blank CRED notification, the same result
It only happens with the parent post "upn" fields.
3-With the beta of Types this doesn't happen but I can't use due to a bug that is already escalated --> https://toolset.com/forums/topic/date-fields-doesnt-show-data-if-they-are-before-1950/
The problem you mentioned above is abnormal, in case it is a compatibility problem, please try this:
1) deactivate other plugins and switch to wordpress default theme, and test again
2) If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, also point out the problem page URL and CRED form URL, I need to test and debug it in my localhost, thanks
Thanks for the details, I am downloading the file, will feedback if there is anything found
Here are what I found:
1) In the problem CRED form "Añadir muestra", in section "Content", you are using below codes:
[cred_field field='@muestra-upn.parent' value='[wpv-post-id]' select_text='--- not set ---' class='form-control' output='bootstrap']
The parameter '@muestra-upn.parent' only works in the latest version of CRED beta plugin, it does not work in the stable version of CRED plugin
2) Dashboard-> Toolset-> Post types
edit post type "Muestras", in section "Parent Post Types", the option "upn" is not enabled
Seems that you have setup the post structures and CRED forms in the beta version of Toolsets plugins, it will conducts some unexpected problems: the new post type relationship only works in the CRED beta, it does not work in the stable version of CRED plugin.
In your case, you can develop your website with beta version of Toolsets plugins, and wait for the fix of date field problem:
https://toolset.com/forums/topic/date-fields-doesnt-show-data-if-they-are-before-1950/
Hi
This is not an option for me. The website is finished and I need to go LIVE. I returned to stable version because the bug on the beta of Types about Date fields before 1950
2)) Dashboard-> Toolset-> Post types
edit post type "Muestras", in section "Parent Post Types", the option "upn" is not enabled
You must See post type "upn" and you will see the Child is "Muestras". As this is a relationship 1 to many (one upn can have many "muestras") .
There isn't any solution for this?
Also I tried using Cred Beta version , and the same time using Types and the rest of components on Stable version = the same result.
Please,
Can anyone reply me ? 🙂 I need some solution here
I used Cred beta version and still occurs. I am not getting the value on the email (but the value is printed on the Cred form , as test and is showing ok)
Many thanks
I assume you are going to use stable version of Toolset plugins in your website.
Please try these:
1) Make sure you are using the latest stable version of Toolset plugins
2) Dashboard-> Toolset-> Post types
edit post type "Muestras", in section "Parent Post Types", enable the option "upn" and save
3) Edit the CRED form, replace this codes from:
[cred_field field='@muestra-upn.parent' value='[wpv-post-id]' select_text='--- not set ---' class='form-control' output='bootstrap']
To:
[cred_field field='_wpcf_belongs_upn_id' value='[wpv-post-id]' select_text='--- not set ---' class='form-control' output='bootstrap']
And test again, it works fine in my localhost, see screenshot upn.JPG
As the other ticket is already solved I don't need anymore a solution for this
Regards
Hi Luo
Please delete the image attached because show private date of my enviroment test and is no longer needed. I am getting spam email cause of this.
Many thanks
Regards
As your request, the screenshot has been removed.