Form macros add dot and extra comma

Discussion, questions and support.
Post Reply
User avatar
BrittMalka
Posts: 9
Joined: Jul 4th, ’17, 18:12

Post by BrittMalka » Nov 23rd, ’22, 08:49

Hi,

I have FastKeys v. 5.09 professional licence.

I've made a Text Expander "send" thing that should create a form, and it has worked (I'm pretty sure), but now it adds two weird things.

Here's the output:

Code: Select all

<form method="post" action="LINK">
    <input type="hidden" name="idGroup" value="1">
    <input type="text" name="FNAME" placeholder="First name" value="">
	<input type="text" name="LNAME" placeholder="Last name" value="">
	<input type="email" name="email" placeholder="Email" value="">
    <input type="hidden" name="idList[]" value="1•,4">
    <input type="hidden" name="tags" value=",1,2,26">
    <input type="hidden" name="prefers" value="0">                     
    <input type="submit" value="Subscribe">
</form>
If I only pick one value for list, it does it correctly.

Whether I pick one or more values for list, it starts with a comma.

I cannot figure out why that happens.

Here is my send command:

Code: Select all

<form method="post" action="LINK">
    <input type="hidden" name="idGroup" value="1">
    <input type="text" name="FNAME" placeholder="First name" value="">
	<input type="text" name="LNAME" placeholder="Last name" value="">
	<input type="email" name="email" placeholder="Email" value="">
    <input type="hidden" name="idList[]" value="%SELECT_nvmlist%">
    <input type="hidden" name="tags" value="%SELECT_nvmtags%">
    <input type="hidden" name="prefers" value="0">                     
    <input type="submit" value="Subscribe">
</form>
Here's a screenshot of my first select:

https://a.cl.ly/NQu4Emb9

And my second:

https://a.cl.ly/OAu2w1Rz

Can you see what's going on and why it adds two weird characters?

Update (because I kept testing): I found that if I removed one of the select macros, then it worked. But I need both to create the form. Is there a way to do that?

Thanks,
Britt
User avatar
Marko
Posts: 1718
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Nov 23rd, ’22, 22:07

Hi BrittMalka, this is strange and I couldn't reproduce it on our systems. Could you please contact our support mail so we can test this further? Thanks.
User avatar
BrittMalka
Posts: 9
Joined: Jul 4th, ’17, 18:12

Post by BrittMalka » Nov 24th, ’22, 06:38

Thank you. Done.
Post Reply