Y try use generic checkbox to rescue value from a parent type and edit if are necesary, i tried all example that found on toolset forum but nobody work..
[cred_generic_field type='checkbox' field='gdpr-confirmation']
{
"required":0,
"value":1,
"default":"",
"label":"I confirm I am happy for the details provided above to be shared with all broker members of the site."
}
[/cred_generic_field]
Hello. Thank you for contacting the Toolset support.
I'm not sure what exactly you want yet.
Would you mind to share bit more details or share few screenshots that should help me to understand your issue and once I understand that I will be able to guide you in the right direction.
I had a main posttype treatment that ha child called moments, in a form of child recover part of values of treatment, then use generic element to can load the values of parents, and then save update because parent and child save on same form, the trouble that checkbox then form load i cant get the values, y tried create generic checkbox with default values on 1 and other tests and nobody when form load get the checked status.
I need recover the value of parent to add to generic checkbox and then control and return.
I need to check how exactly you added the field on form and on what step you want to recover the field values.
Can you please share problem URL where you added the form and field and tell me on what step you want to recover the value and share admin 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.
How to retrieve the data from another form I know, I already have other fields such as text fields, dates, select that do it
The question is, what values do I have to give to a generic checkbox so that when the form is loaded, it appears as marked, so that I can define with a shortcode whether or not it should appear marked or not.
In this structure, what should I put or what value must appear for it to be marked?
[cred_generic_field type = 'checkbox' field = 'gdpr-confirmation']
{
"required": 0,
"value": 1,
"default": "",
"label": "I confirm I am happy for the details provided above to be shared with all broker members of the site."
}
[/ cred_generic_field]
You can display a generic checkbox field by default checked by adding the attribute "checked":1,
Please try to use the following generic field code.
.
[cred_generic_field type = 'checkbox' field = 'gdpr-confirmation']
{
"checked":1,
"required": 0,
"value": 1,
"default": "",
"label": "I confirm I am happy for the details provided above to be shared with all broker members of the site."
}
[/ cred_generic_field]