I'm trying to create a custom "Create Multiple Guest Accounts" form that limits/validates the number of guest accounts the various operator profiles can create. I've created multiple "num_account" fields that properly limit and validate the arguments, but the create function is expecting the variable/field "num_accounts" and I've had to rename each of my fields with a unique name. How can I take the custom number of accounts integer from my field and assign it to the num_account field to actually create the accounts?
For example, one field is num_accounts_5 that limits only up to 5 accounts can be made. The form validates the imput correctly, but when you go to create the accounts, you get an error:
| The num_accounts field must be provided to create multiple guest accounts. |
thanks
mike