I have been assigned a project to replace a single...
# suitescript
k
I have been assigned a project to replace a single page custom record online form with a wizard in which a customer selects a value and clicks a "next" button. I've done things like this with SweetAlert2, but that pops up as an alert windows. Does anyone know if it's possible to get SweetAlert2 to work as an inline DIV instead of as an alert, or can anyone recommend a similar inline modal library?
e
Have you looked into the Assistant Suitelet?
k
No I haven't
I looked it up in the help and it seems promising. Not sure exactly how to use it but I'll give it a try
b
i shall give the opposite advice and say ignore the assistant, its a lot of work and behaves weirdly unless you understand how it uses the session in the background
k
Thanks for the tip! I'm not sure how much it can be styled either...
It does seem that SweetAlert2 has a "target" option to put it inside a div 🙂