Forums

SOLVED: Question about formatting in 4.0 RC3.1

cb1 01 Mar, 2012
Hey,

I needed to use the Wizard Edit mode to take advantage of the Chronoforms built-in validation tools.

1 - Now that I have built the form with the tools - can I go in and edit the code to better format the page.

2 - Right now the page is a bit of a mess - see attached image. (I shrunk the image down - but you get the idea.)

3 - I realize that once I start manipulating the code - I can no longer use the wizard edit - but the wizard edit looks like it provides no formatting options beyond "Normal" and "Tight" which provide the same results.

4 - I can't seem to use DIV's within the wizard code as they broke my form altogether. (I posted that scenario under the "Bugs" forum)

So would switching to editing the code itself do any damage to the validation tools ability to validate? Or now that they are set - as long as I don't alter that validation code - I can go ahead and manipulate the form code?
GreyHead 01 Mar, 2012
Hi cb1,

I don't see any problem with <div> tags in the Header box. Just ran a test with a dozen or so and they behave correctly. Might be worth double checking your HTML.

You can switch to edit the HTML on the Form Code tab if you like, set the Form Type to Custom when you do to disable the Preview window.

The validation, actions, etc. are independent of the Preview part of the Wizard as long as you have well-formed HTML and the correct classes set to trigger the validation.

I assume that the big red arrows are about the width of your form; that's probably coming from your template, not from ChronoForms.

Bob
cb1 01 Mar, 2012
Hey Bob,

Thanks for replying so quick,

The big red arrows are the actual width of the page which - regardless of tight or normal - I can't get the form to fill that width. (Tight and normal appeared the same).

I will make a copy of this form - then experiment more with div's.

I lost two forms - so I'm gunshy about it. I'm honestly not so sure it's not a bug. BUT - I will take the benefit of the doubt - because I know I'm not on the most recent version of Joomla 1.5 even. So there may be more to it.

My main question I guess was about having the classes set correctly to trigger the validation. I will run some tests and hope that I do. thanks!
GreyHead 02 Mar, 2012
Hi cb1,

I'm pretty certain that the width is nothing to do with ChronoForms, use your browser web developer tools to see exactly what is setting it.

I'll check the Header box with your code later on and reply in the other thread on that part.

Bob
cb1 02 Mar, 2012
The Preview uses the default template. I just looked on the live site and saw that the form, indeed, reacts properly in regards the layout with the assigned template.
This topic is locked and no more replies can be posted.