Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Form's height could also be overridden by using "AJS.params.cf_formHeight" 


Info

Please note, that since 1.54.6 and later version of ConfiForms plugin you can set your own height/width for the form easily within a ConfiForms Registrations Control (FormView) macro, as well as in Edit Controls and the Entry Viewer

There is no need to hack it with JavaScript!



Code Block
<script>
AJS.params.cf_formWidth = 1300;
AJS.params.cf_formHeight = 400;
</script>

It sets the width of the dialog form to 1300pixels and form height will be 400pixels

 


On this page we use dynamically calculated form height, but set width to 1300 pixels

HTML
<script>
AJS.params.cf_formWidth = 1300;
</script>

 

...



ConfiForms Form Definition
formNamef

testtest fieldtext

INLINE