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

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpDiscuz community!

Merry Christmas and Happy Holidays! πŸŽ„

[Solved] Adding a hidden field to php

2 Posts
2 Users
0 Reactions
1,715 Views
Posts: 3
Topic starter
(@webmasterkww)
Active Member
Joined: 5 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: 8205
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

Hi,

You can use the following two hooks.

wpdiscuz_form_bottom

wpdiscuz_button


Share: