Tomasz Gola

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
Jan 13, 2020 at 7:57 pm
#118085
Participant
Tomasz Gola
OP

For anyone stumbling upon the same problem, do not count on the help of WPDM crew.
I am disappointed with the support I got (or I actually didn’t get).

Anyway, if you want one of the hidden fields of Gravity Forms to be populated by Package Name, you have to go to:
wp-content/plugins/wpdm-form-lock/wpdm-form-lock.php
and add the following lines of code in line 149:

           
$wpdmpro_name = get_the_title($pid);
$formhtml = str_replace("[wpdm_package_name]", $wpdmpro_name, $formhtml);

Good luck

Jan 13, 2020 at 10:14 am
#118050
Participant
Tomasz Gola
OP

Can you please help me? Im trying different options and nothing works for me.
When I am on Single View of WPDM PRO, I can easily extract package name. But when it is in a loop or just pasted as a link, I CANNO pass the value of Package Name to Gravity Forms Hidden Field.
I can pass the WPDM ID.
IT IS REALLY FRUSTRATING….
Id appreciate your help

Jan 12, 2020 at 12:31 pm
#118010
Participant
Tomasz Gola
OP

Ok, but I am embedding this shortcode in Gravity Forms hidden field – and the shortcode [title] does not work in such a use.
I have no idea now where, I got the shortcode: [wpdm_package_id] from, but this shortcode does work in Gravity Forms hidden fields.

Jan 12, 2020 at 12:19 pm
#118008
Participant
Tomasz Gola
OP

Unfortunately doesn’t work…

May 25, 2019 at 8:06 am
#97329
Participant
Tomasz Gola
OP
This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)