What is a Multiholder?

aboutimage 19 May, 2009
I've searched the forum and the Internet for an explanation of what the "Multiholder" item is. I figured out how to drop the element in the form and create a few elements that go across the page, but that's about it. Is that all it does?
Max_admin 19 May, 2009
Hi David,

The multiholder can show more than 1 form element in the same row instead of the vertical order, so at your wizard, lets assume that you have 10 fields and the multi holder one is the fifth and that its configured with 3,4 then when you save and view your form, your form will have 8 rows and the 3rd and 4th elements from the wizard will be visible in 1 row only where the multi holder was and at this situation it will be the 3rd row after omitting rows # 3,4!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 19 May, 2009
Hi David,

Multiholder and Placeholder are tww Wizard helpers that Max has added. I think I can tell you what they are meant to do but I can't get either of them to work.

Multiholder lets you put more than one form element in the same horizontal form row like this
[form element]
[form element] [form element]
[form element]

Placeholder lets you define a frequently used form element and include that in the form using a placeholder like {imageverification}.

Please let me know if you work out how to use them - or perhaps Max will give us a hint.

Bob
Max_admin 20 May, 2009
Hi Bob, David,

Ok, I will show here how its done using 2 screenshots, in the first image, I have 4 wizard elements, #1,2 are textboxes then a multiholder then a text area, I configured the multiholder as shown to multi hold the first 2 elements, #1,2
[attachment=1]multiholder1.png[/attachment]
then after saving the form, the output should be:
[attachment=0]multiholder2.png[/attachment]

I will make another post for the placeholder😉

regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 20 May, 2009
Hi again,

I want to have a Joomla content editor inside my wizard created form, I need to use the place holder because the wizard doesn't have this element, In fact I can use it for any kind of code, like even my PHP code block which checks or loads something!

I need to create the new wizard element first, I will call it {editor}

[attachment=2]placeholder1.png[/attachment]

then I will use it while creating my form in the wizard:

[attachment=1]placeholder2.png[/attachment]

save my form and here is the output:

[attachment=0]placeholder3.png[/attachment]

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
aboutimage 21 May, 2009
Thank you for this comprehensive reply. I'm going to use this feature extensively!!!
😀 😀 😀 😀
star 29 May, 2009
May i know which version of ChronoForm included Multiholder? Or how to get a multiholder?
Because my ChronoForm do not have this feature.
GreyHead 29 May, 2009
Hi star,

It's in the current release.

Bob
olafvdg 19 Jun, 2009
Max,

When using your code above to create a wysiwyg editor field, the field name is always identified as 'full text' right?
So the code is not really reusable, only if you need a wysiwyg editro for a field called 'full text'.

Would it be possible to send a variable to a placeholder?
E.g. {editor:description} and this variable 'description' to be used as field name?

Do you understand what I'm trying to say?
Max_admin 22 Jun, 2009
Hi olafvdg, you can change the fulltext to whatever, make it
display('ilovechronoforms'
instead!

Cheers,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
olafvdg 22 Jun, 2009
Hi Max,

Yes, I realize that. I was just thinking of an option where I would have 1 custom wizard element for a wysiwyg textarea and could adjust the field name from the form wizard somehow..... instead of creating custom wizard elements for each field name...

In that case, I guess I'll go for handcoding instead....

Thanks,

Olaf
Max_admin 22 Jun, 2009
Hi Olaf,

I agree with you, but its just a new comer to the wizard, its done so that you can use custom code in the wizard and at the same time don't lose it the next time you edit the form in wizard!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
shangdynasty 22 Jun, 2009
Hi,

I can't seem to get the multiholder to work as described in this post. I see that Greyhead said the same somewhere in this post.

I am wondering if Greyhead did get it to work like Max says it does or if someone can shed some light on how to make it work.

Please help as this is a great feature to have for any website.

Thanks for any advice you may be able to provide.

Michael
shangdynasty 22 Jun, 2009
Thanks Max. That was my first post ever and I am impressed by your prompt reply.

I greatly appreciate your help and Chronoforms.

I was expecting to see it in the preview, but can see it only in the published link. That is fine, I am happy it works.

Best regards,

Michael
quizard 02 Jul, 2009
Hi,

I'm Using the multiholder, everything is working except when i put 2 dropdown element, save and preview, they do not appear in the form!
Anyone have this issue or is there anything wrong with my website??
Thanx
Max_admin 02 Jul, 2009
Hi quizard,

They work here just fine!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
geeknet 16 Sep, 2009
I followed everything in placing the placeholder

but when im on the form wizard and dragging the form element placeholder in doesnt move in.

roy
GreyHead 16 Sep, 2009
Hi Roy,

I'm not sure that I understand. What doesn't move in? The elements don't move into the placeholder - it just picks up the sequence number of other elements.

Bob
jerrico 24 Jan, 2010
The Multiholder is not working on my form either. I followed the simple instructions adding 3,4 and it simply shows the "1" or the "2" and not the field. Am I supposed to be somehow assigning my fields an "element" number? Accouding to the tutorial, the number should coincide with the way the field is listed, but that is not working for me.
GreyHead 25 Jan, 2010
Hi jeerico,

It's not the sequence in the window but the id of the element that you need. Unfortunately that's not always easy to see.

Each new element gets an id that is visible in the original field name at the bottom of the properties box as text_1, text_7, select_14 etc.

If you use these numbers in the multi-holder it should work Ok (at least it does for me).

Bob
jmayer76 18 Feb, 2010
Yeah, the multiholder is not working for me either.

does not matter if I use text_2,text_3 or change the name and use the new name. but if you change the name, the id is still the original that was created by the wizard. you can see this by creating an input box and setting the name to something else. the input tag has an id and a name. I am not able to get the multiholder to work at all. what a pain. and the radio buttons are all vertical with no way to set them horizontal. ChronoForms is awesome but very difficult to work with from a design standpoint
GreyHead 18 Feb, 2010
Hi Jmayer76,

You just need the number in there like: 2,3,7

Bob
Hines 20 Feb, 2010
NOTE TO ALL: If You think MultiHolder doesn't work....It shows up on the website....just not in your "PREVIEW" window. I think this has caused come confusion regarding whether it works or not. Yes: I did get it to work.

---------------------------------------[Previous]
I, for the life of me, cannot get this to work either. It SEEMS easy enough; and the instructions provided in the application and in this thread are clear and simple to follow. But ChronoForms seems buggy in this particular regard and won't create side-by-side text boxes. Perhaps it does for some people, some of the time.

I have 2 elements and a multiholder below. I have tried inputing "Elements: 1,2"....."Elements: 1,[space]2"....."Elements: text_1, text_2"....."form_item1,form_item2"....to no avail. Multiholder simply shows up with whatever text was typed into it on the screen. 😲
GreyHead 20 Feb, 2010
Hi Hines,

[sendfb][/sendfb]
and please say *exactly* which elements you want in the multi-holder.

Bob
GreyHead 20 Feb, 2010
Hi Hines,

Ah - now that does make sense to me !!

Bob
jmayer76 21 Feb, 2010
OOOHHHHH just the number. no kidding, I never tried that.
I did end up just using my own form code, which works great, I did not realize it was so easy.

Using the wizard is good to help the customer edit his own form. but still even then it is not very easy, to allow for best customization, use your own form code.. YAY

ChronoForms ROCKS!!!
Hines 26 Feb, 2010

ChronoForms ROCKS!!!



So does GreyHead! Your assistance is greatly appreciated. If I get my site up and running in a commerical capacity, which I do anticipate, I will definitely be purchasing your product. thanx, again! 😀
RCheesley 28 Feb, 2010
It's quite possible I have missed a trick here, but when I drag the multiholder into my form, no matter whre abouts it is (at the top or bottom of the form, or in between elements) nothing happens. I don't get anything appear in that location, and don't get any options to edit the elements contained within it. Ergo, I can't get the Multiholder to work.

Any suggestions? I just installed the component from a fresh download so am using the latest version on J 1.5.15.

Ruth
GreyHead 28 Feb, 2010
Hi Ruth,

You need to put the ids of the elements that you want to include in it e.g 1,3,7 - you won't see anything until you view the form in your browser.

Bob
RCheesley 28 Feb, 2010
In what? The issue is NOTHING appears when I put the multiholder into a form. If I could actually see something to click on to edit, to add the element ID's, then I could have got this to work without even reading this thread😉

The issue is that nothing is actually happening - so where am I supposed to enter the ID's?
GreyHead 28 Feb, 2010
Hi Ruth,

In the elements box

Bob
RCheesley 01 Mar, 2010
Hiya,

Yes I completely understand HOW to do it. The problem was that for whatever reason, the Multiholder was not doing anything. When I dragged it into the form, it was not appearing in the form, so there was no properties window (as there was no element in the form).

After I restarted and restarted my browser, it now appears to be working. Gawd knows what was going on because all the other elements were working just fine!

Ruth
leeburstroghm 31 Mar, 2010
Really,

I have the multi holder in, I added two test text fields. text_10 and 11. used only the numbers in the multiholder, and nothing shows up in firefox. not after clean cache. not after restart not enything.

though the two text fields no longer show in the form.. what is this about. could be something else?? man. such issues.
tcruces 18 May, 2010
Hi leeburstroghm,

Place your multiholder AFTER the fields you want to show horizontally, not before. This has worked for me.
leeburstroghm 18 May, 2010
yes, and also, I noticed that it is actually NOT the id text_12 or text_13.

you actually have to count down, the number of items. even the text and headings, to get the correct id. kinda funky. but that got it to work all the time for me. because once you have it setup, and you add a new item above the items you want in the multi holder, the item number changes..

in case someone was having troubles that might help them out.
Forez 18 May, 2010
Hello, as a frequent Chrono user I wanted to suggest an extend to the functionality of the multiholder. Sometimes in complex forms when you just need a wrapper for a group of elements it would be very cool if the holder was a div instead of a table element. Probably an option for a table or div type... And also with an additional option for a css class for that specific holder. Guess that would make the styling of specific form section very much easier for those that would want to preserve the wizard edit capability of their forms. In my case I'll have to think of a javascript that would convert the multiholder tables to div elements with the same children and also put a unique class to all of the multiholder divs.

Anyways ChronoForms makes web developers life much easier 😀 Cheers!
helwoe 07 Jun, 2010
Hey folks,
I've followed the instructions the admin put forth but am not having any results.
I created the comment element exactly as described but when i'm in the form wizard and try and drag the Comment element over nothing happens. The form displays just fine with the MultiHolder (1,2) from the backend link. I'm probably missing a step here and a bit confused.

Helwoe


Form wizard view.

[attachment=0]form_wizard.jpg[/attachment]

Here is the code for the element.

    <label style="width: 150px;" class="cf_label">Comments</label>
   
<?php
$editor         =& JFactory::getEditor();
echo $editor->display( 'fulltext',  '' , '80%', '350', '55', '20', false ) ;

?>
   
  </div>


The element wizard view

[attachment=1]custom_element.jpg[/attachment]
GreyHead 08 Jun, 2010
Hi Helwoe,

Try adding a Parameter to the Wizard Element (just a dummy name is OK). It seems as though it doesn't work properly unless there is one parameter set.

Bob
helwoe 09 Jun, 2010
Thanks for they reply.
Anything I put in the parameter doesn't get saved.
Any other ideas?

Helwoe
GreyHead 09 Jun, 2010
Hi helwoe,

It works OK here. Put something like xxx in the box next to the 'Inset New Parameter' button, then click the button. Then save the Wizard Custom Element.

Bob
RaDoonZ 18 Jun, 2010
I was wondering the same thing; what is a multiholder. However, the information here has adequately explained it. Thanks everyone!
needshelp 08 Nov, 2010
For some reason when input elements in the multi holder and change the width it doesn't show another other element but the first one. Any ideas?
needshelp 08 Nov, 2010
Figured it out, you need to place the multiholder under your elements.🙂
This topic is locked and no more replies can be posted.