web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Form control – add vertical multiple controls and single control on same line

WarrenBelz Profile Picture WarrenBelz 149,311 Most Valuable Professional
A question often asked is why multiple different height data cards cannot fit on the same line - essentially "stack" one column with multiple Cards. 

Have you ever had a Form looking like this

And you want it to look like this

There is a really simple way of doing this (which seems obvious when you see it), using a standard Form and SubmitForm and moving a couple of controls. Firstly (in the example above) with a Columns setting of 2,
  1. Put the Notes column, to the right of the Device column – Type will then appear on the second line and Device Height will now match that of Notes.
  2. Unlock both the Device and Type Data Cards.
  3. Cut (not Copy) the Type Label and Text Control out of the Type Data Card into the Device Data card and position them as above (or however you want them shown).
  4. The pasted controls will currently show the Device details. Set the Text of the Label manually to "Type" and the Default of the Text Input to ThisItem.Type.
  5. Remove the other controls (Star and Error) from Type Data Card and set the Visible to false.
  6. And you are finished !
So what is happening here?
Essentially when you cut and paste (moved) the Text Input from the Type Data Card, it still retained its Update property linked to the Text Input you just moved to the Device Data Card, so it will still write from that control, regardless of where it is. All you have to do then is display the correct field in the moved control (ThisItem.Type) and change the Label to show the correct reference.

You can do this will any number of controls (they could be three or four high beside something like an Attachment control that needed to show a large number of attachments). This is also useful for adding extra fields horizontally in a card if you want to put more on a line than the Column count.

Comments