Versions Compared

Key

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

This form's width is overridden by using the "AJS.params.cf_formWidth" parameter set with JavaScript on the page

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!


This demo is relevant for ConfiForms plugin versions prior to 1.54.6 


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