New Attachment Upload Builder (Expression) — DiSky
Addon: DiSky · Category: Expression · Since: 4.28.0
Syntax
[a] new [required] [attachment] upload with [the] id %string% [[and] [with] unique id %-integer%] [[and] [with] min file[s] %-integer%] [[and] [with] max file[s] %-integer%]Description
Create a new attachment upload component, to be used in **modals only**. Min and max should be within 1 and 10! By default it requires a SINGLE file.
Examples
set {_modal} to new modal with id "feedback" named "Give Us Feedback"
set {_att} to new attachment upload builder with id "test" min size 3 and max size 10
set {_label} to new label "File?" with {_att}
add {_label} to rows of {_modal}
show {_modal} to the user