The user id is definitely created by the time frm_after_create_entry fires, otherwise the user id wouldn't be saved with the form entry. Every table row in frm_items and frm_item_metas has a reference field to user id. When you debug your code, have you tried pausing the execution of your callback and directly examining the $_POST associative array values? Have you used PHPMyAdmin to confirm the user_id is stored with the entry records? Are you absolutely certain 'userid0010' is the correct field key for the user_id field on the form?
Please login or Register to submit your answer