This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 145
Update targets don't get performed if their form target is hidden #85
Labels
Comments
This should be possible to fix now with the new methods on HYPFormsManager that can retrieve hidden fields too. |
|
This seems to be a current issue. Can you confirm? |
@jeffleeismyhero is an issue as far as I know |
Targets defined in hidden fields will fire with the change displayed below IF I switch to readonly and then back to readwrite. The updated Reference JSON: {
"groups":[
{
"id":"hidden_targets",
"title":"Hidden Field Targets",
"sections":[
{
"id":"hidden_targets_section",
"fields":[
{
"id":"visible_quantity",
"title":"Quantity",
"info":"Displays 'hidden_quantity' value",
"type":"float",
"value":0,
"size":{
"width":20,
"height":1
},
"formula":"$hidden_quantity"
},
{
"id":"hidden_quantity",
"title":"Secondary Quantity",
"info":"Multiplies 'adjustment_field' by 2 and updates 'visible_quantity'",
"type":"float",
"value":0,
"size":{
"width":20,
"height":1
},
"formula":"$adjustment_field * 2",
"targets":[
{
"id":"visible_quantity",
"type":"field",
"action":"update"
}
],
"hidden":true
},
{
"id":"adjustment_field",
"title":"Adjustment",
"type":"count",
"value":1,
"size":{
"width":20,
"height":1
},
"targets":[
{
"id":"hidden_quantity",
"type":"field",
"action":"update"
}
]
},
]
}
]
}
]
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: