The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Adding a hidden fie...
 
Share:
Notifications
Clear all

[Solved] Adding a hidden field to php

2 Posts
2 Users
0 Reactions
1,111 Views
Posts: 3
Topic starter
(@webmasterkww)
New Member
Joined: 3 years ago

Hello. When posting comments, I need to automatically set the value of the global ID field with the generation of a random number, like this 'default_value' => time (). rand (10000, 99999).
How do I add a hidden field to a php comment form so that a random number is generated when it is submitted to the value?

1 Reply
Asti
Posts: 7573
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Hi,

You can use the following two hooks.

wpdiscuz_form_bottom

wpdiscuz_button

Share: