"Number registrants" field in waiting list form

  • M. Stoppa
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 7 months ago #20165 by M. Stoppa
Hi,

I don't need the "Number registrants" field in the waiting list form, because every user should only register him/herself once. When I delete the corrosponding html code in the form tmpl file, the field is not displayed in the form but the field seems needed for the "Moving Registrants" Plugin. This plugin won't work until then propably of the missing value.

How can I automatically add the value "1" to this field?

Thanks in advance
Marko

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #20184 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: "Number registrants" field in waiting list form
Hi

You can add the code below somewhere in the form :
Code:
<input type="hidden" name="number_registrants" value="1" />

Tuan

Please Log in or Create an account to join the conversation.

  • M. Stoppa
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 7 months ago - 12 years 7 months ago #20193 by M. Stoppa
Oh, so simple - how embarrassing :blush: .

Many thanks for the quick response!!!

EDIT: Works perfectly!!
Last edit: 12 years 7 months ago by M. Stoppa.

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #20217 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: "Number registrants" field in waiting list form
Great, thanks for confirming !

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc