#how to use data from modalformdata

1 messages · Page 1 of 1 (latest)

wispy trellis
#

I made form using modalformdata and now I dont know how to use information player put in it

tall vine
#

.formValues;

wispy trellis
tranquil stag
#

you can save it to a variable with acts like a list of values

snow lintel
sly patrol
#

I prefer use this

form.show(player).then(({formValues}) => {
   const { select1, select2, select3 } = formValues
})
sly patrol
snow lintel
#

const [v1, v2, v3] = formValues