Bug: Multiplier Fields (Layout)

How to fix multiplier fields expanding incorrectly in ChronoForms.

Overview

The issue occurs because the replacer character '0' in the multiplier settings is too common, causing unintended replacements in the HTML, like within attribute values such as 'cols'.
Change the replacer in the Multiplier Container settings to a unique string like __N__ or ##N## to ensure only the intended placeholders are replaced.

Answered
fi fibernet 06 Dec, 2015
Hallo @all

I have a big Problem:

I have a form with a multiplier container. So far not good :-( each additional field is wider or longer, I do not know why. I have tried a new installation, no plugins, only joomla and ChronoForms, the same result. can you help me please, this multiplier form is absolutely necessary.
fi fibernet 06 Dec, 2015
Attached a backup from a test file....same result, all additional dropdown fields going longer. Only multiplier container an html render action....no more. i think, this is a problem with the newest browser......
fi fibernet 06 Dec, 2015
This is the result after 12 events:

<textarea name="textarea5" id="textarea5" placeholder="" rows="3" cols="411" class="form-control A" title="" style="" data-wysiwyg="11" data-load-state="" data-tooltip=""></textarea>

:-(
Gr GreyHead 06 Dec, 2015
Answer
Hi fibernet,

In the Multiplier Container, Multiplier settings you have the Replacer set to 0

The Multiplier works by using simple search and replace so every 0 in the HTML is being replaced with 1, 2, . . .

The help text there suggests that you use __N__ that way there are unlikely to be any other __N__ strings apart from the ones that you have added in the Multiplier Contents.

Bob

Personally I prefer ##N## but any distinct string works OK.
fi fibernet 06 Dec, 2015
Hi Bob ..... hmmm small cause, big effect. I had a doubt on my mind :-D
Thank you verry much, without your help I would have likely a problem.......
This topic is locked and no more replies can be posted.