'WP Gravity forms - Dynamically pull values from picked attributes on product

I have a problem to pulling data on variable product where data in options need to be pulled from attributes chosen on certain product but not all the attributes.

For example:

On Product > Attributes are Fabric type: Standard one, Standard two, Non Standard

But on product example i choose only Standard one and Non Standard

How can I pull data from certain product attributs with those two options?

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source