AMOUNT FROM URL STRING #7319
Unanswered
L1mboL
asked this question in
Developer Q&A
Replies: 1 comment 1 reply
-
I would suggest using the new Fields API for dynamically modifying fields. Here is an example using a hidden field, but any field can be used and referenced by name. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
Can you help me?
I used this code before to fill in amount values from a URL.
It worked with the classic form, but it doesn't work with the new form created in the form builder.
`
add_action( 'give_post_form_output', 'give_populate_amount', 10, 2 );
function give_populate_amount($form_id, $args) {
?>
Beta Was this translation helpful? Give feedback.
All reactions