Page 1 of 2

Advancedform_XH - text position

Posted: Thu May 31, 2018 4:00 am
by Nicky
In standard layout and in all example forms the form to fill in is positioned to the right of the text.

However I use some very long 'text' so the layout looks not ok.

Is it possible to put the text above the labels instead of at the right?
advancedformscreenshot.png

Re: Advancedform_XH - text position

Posted: Thu May 31, 2018 5:08 am
by Tata
1. Export the form in backend - icon right to red "-" icon yourform.tpl and yourform.css will be generated.
2. Adjust generated template and stylesheet.

Re: Advancedform_XH - text position

Posted: Thu May 31, 2018 5:31 am
by frase
Tata wrote:
Thu May 31, 2018 5:08 am
1. Export the form in backend - icon right to red "-" icon yourform.tpl and yourform.css will be generated.
2. Adjust generated template and stylesheet.
Correct!
Background:
In standard the form is in a table-layout.
After generate a template, the layout is <div> -> better styling.

The button to generate the template: Plugins-> Advancedform -> Mail Forms -> see image below
advform.png

Re: Advancedform_XH - text position

Posted: Thu May 31, 2018 10:23 am
by Tata
Have a look at this template (*.css gies to advancedform/data/css, *.frm, *.tpl go to advancedform/data)

Re: Advancedform_XH - text position

Posted: Thu May 31, 2018 2:25 pm
by Nicky
Hi thanks,

I put 3 files in the mentioned folders, but no form 'Tata' shows up in cmsimple plugin.

I'm probably missing a step..

grts

Re: Advancedform_XH - text position

Posted: Thu May 31, 2018 2:45 pm
by Tata
advancedform.png
Try also this
data copy.zip

Re: Advancedform_XH - text position

Posted: Thu May 31, 2018 4:27 pm
by Tata
Nicky wrote:
Thu May 31, 2018 2:25 pm
I put 3 files in the mentioned folders, but no form 'Tata' shows up in cmsimple plugin.
The template is no plugin itself. It appears in Plugins>Advancedform>Mail Forms and the name shall be used in plugins call.

Re: Advancedform_XH - text position

Posted: Thu May 31, 2018 6:15 pm
by Nicky
Tata, thank you so much for your time and advice.

It works now!

Best regards :D

Re: Advancedform_XH - text position

Posted: Thu May 31, 2018 6:20 pm
by Tata
Hopefully, the attached template helps you to adjust your own ones.

Re: Advancedform_XH - text position

Posted: Tue Jun 05, 2018 5:31 pm
by Nicky
Ooops, is Advancedform_XH not compatible with latest cmsimple_XH 1.7.2 or is something additional needed to make it work?
Thx