- This topic has 15 replies, 3 voices, and was last updated 12 years, 11 months ago by .
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Registration Form Questions
Adding custom code on a live site is not recommended (consider installing another copy of WordPress in a sub-directory for this kind of testing). When testing you could do something like the following to test and see what value is being passed and what part of the code is getting executed:
// Add For Gravity Forms Post Submission
function gf_register_add_ons($user_id, $config, $entry, $user_pass)
{
//Lets see which form is being submitted
echo "<br />The form being submitted is: ".$form['id'];
exit;
.....
.....
.....
This will show the value of the $form['id']
variable then exit out. It can help you troubleshoot the coding error quickly (if any).