Page 1 of 1

Vertical layout form dynaform

Posted: Wed Jul 18, 2018 4:51 pm
by NLj015
Hello, a question:

is possible get a dynaform displays "blocks" like a
consulta pm.png
consulta pm.png (12.54 KiB) Viewed 9944 times
i tried with css property in PMDynaform.css and i could´t not find where

Thanks

Re: Vertical layout form dynaform

Posted: Thu Jul 19, 2018 12:16 am
by amosbatto
You have to set the classes of both the label and the input field to occupy 12 columns in your form, which can only be done with JavaScript after the Dynaform is generated. I created a programming example, that you can use:
https://sourceforge.net/p/pmcommunity/c ... belsOnTop/

Re: Vertical layout form dynaform

Posted: Thu Jul 19, 2018 9:33 am
by NLj015
Really really thanks!

atte luis ;D

Re: Vertical layout form dynaform

Posted: Thu Jul 19, 2018 12:53 pm
by NLj015
Thanks, all ok, but the javascript solutions is not compatible with subform inside, example:

formulario:
view form error subform.png
view form error subform.png (19.98 KiB) Viewed 9919 times
error console chrome:
console chrome log error subform.png
console chrome log error subform.png (31.97 KiB) Viewed 9919 times

Re: Vertical layout form dynaform

Posted: Thu Jul 19, 2018 11:48 pm
by amosbatto
I fixed the programming example to deal with subforms:
https://sourceforge.net/p/pmcommunity/c ... belsOnTop/

Re: Vertical layout form dynaform

Posted: Fri Jul 20, 2018 9:34 am
by NLj015
amosbatto wrote: Thu Jul 19, 2018 11:48 pm I fixed the programming example to deal with subforms:
https://sourceforge.net/p/pmcommunity/c ... belsOnTop/

Thanks, prefect, all working ok
;D