Is it possible to have a few fields inlined togeth...
# suitescript
a
Is it possible to have a few fields inlined together in the middle of a bunch of other fields in a suitelet form? It looks like field groups are always pushed outside the normal flow of fields and I'd like it to not do that. I'm basically looking for the same functionality as the "Same row as previous" checkbox when editing an entry form.
e
You can try using Break Types on your Field(s)
see the
updateBreakType()
method
a
I've tried using STARTCOL and STARTROW but those don't do exactly what I need
And the NONE option is the default
s
If layout is becoming a pain you could resort to a SPA instead. Granted that's changing gears but gives you general flexibility.
m
If you're trying to mimic the
Same Row as Previous
checkbox when editing forms in the UI, I think you want to use
updateLayoutType()
with a combination of
STARTROW
,
MIDROW
, and
ENDROW
.