I’m using bootstraps to format an input field for tag labels in a custom HTML prompt. The format looks good, but the variable ‘tagsVar’ isn’t created in KM on submission.
A couple of things. First, terminology. It’s “Bootstrap”, not “bootstraps”. Took me a while to understand what you were talking about.
Second, you have 3 html elements with the same “id”, “nname”. This looks suspicious. It’s technically wrong (ids are supposed to be unique), although I don’t know if this could be the issue, but try changing that and see if it helps.
Thanks for the clarification. The easy answer to why there are three elements with the same ID is because I don’t know what ID actually does. What I did know is that setting ID to nname for those three elements got them to look the way I wanted.
So, I triplicated the CSS and changed each element to unique id. No luck in passing the tag variables through, but everything else is still coming through okay.
I suspect the issue is that Bootstrap isn’t using the name property as I would expect. It’s like that is getting lost in translation
Thanks for taking a look! I never took the step to add new tags and send them through. I was only trying to work with the default values (doh!) It seems to work when I add additional tags but if I leave the default values alone, the variable does not pass through. This is a lot better than not working at all, but any ideas why the default value would act different than a user input value?