Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HiddenInput name not working #1382

Closed
mrelliot69 opened this issue Dec 19, 2022 · 1 comment
Closed

HiddenInput name not working #1382

mrelliot69 opened this issue Dec 19, 2022 · 1 comment

Comments

@mrelliot69
Copy link

Steps to reproduce

  1. Try hiddeninput with array

WHen using a name like this on the input txRepeater[0][contact] the hiddenInput not works, can someone help figured out how i can have the hidden input being generated correclty txRepeater[0][contact][full] without problems

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what actually happens

Initialisation options

List any options you're using e.g. utilsScript or preferredCountries

@jackocnr
Copy link
Owner

jackocnr commented Apr 7, 2023

If your input has the name txRepeater[0][contact] and you init the plugin with hiddenInput: "contact_full" then the hidden input will be given the name txRepeater[0][contact_full]. That's the best we can do I'm afraid.

@jackocnr jackocnr closed this as completed Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants