Add a space between two fields in a form

HarshTimes
Tera Guru

Can we add a space between two fields in a form. Please see in the attached image

9 REPLIES 9

Mark Stanger
Giga Sage

You can use a form annotation (and a little HTML) to do this. Add a 'Text' form annotation where you want the space to be. Then enter the following code for the text...



<p></p>


Hi,



Did somebody try this recently? I want to add space between two fields in the form and following before mentioned lines, I have created an annotation field (text), but when trying to add the html lines there, the field automatically disappear.





Regards,


Sorry, the new added lines there <p> </p> disappear.   Is like it doesn't accept HTML code


Hi Pablo,



A quick and easy workaround will be, add any field on the form that you dont have to actually display on the form, say 'active', between the fields where you want the Gap.



And on a simple onload client script/ui policy write this



g_form.setVisible('active', false);     //put the appropriate field name


-Anurag