Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

how could I add a message that appear when you open the form

Avatar

Avatar
Validate 1
Level 2
khaldoona993089
Level 2

Likes

8 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
khaldoona993089
Level 2

Likes

8 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
khaldoona993089
Level 2

22-12-2018

how could I add a message that appear only when you open the Form 1st time

and this message contain text with multi lines

exactly like this :

befor you begain.jpg

I need the  whole the code  , and where could I put it   please

I mad this photo on photoshop

Adobe Experience Manager Forms

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile
Mayank_Gandhi
Level 10

27-12-2018

to call a script on form initialize place the script on the docReady event:

1655498_pastedImage_0.png

Once you create the script you can edit in the script editor:

1655499_pastedImage_1.png

Answers (7)

Answers (7)

Avatar

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
MVP

27-12-2018

In html string you can try adding <br> for new line

"This text contains<br>a line break."

Avatar

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile
Mayank_Gandhi
Level 10

29-12-2018

Great that the solution worked for you!

I will check and let you know about the other question also.

Thanks,

Mayank Gandhi

Avatar

Avatar
Validate 1
Level 2
khaldoona993089
Level 2

Likes

8 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
khaldoona993089
Level 2

Likes

8 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
khaldoona993089
Level 2

29-12-2018

thanks Mayank .. thank you so much

I have have one more Q  .. hope you can help me

https://forums.adobe.com/message/10836233#10836233

Avatar

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile
Mayank_Gandhi
Level 10

27-12-2018

Use this

xfa.host.messageBox("السلام عليكم ورحمة الله وبركاته\u000a يعطيك قالب التقارير تعليمات مباشرة عن مكوناته وكيفية التعامل مع حقوله \u000a يعطيك قالب التقارير تعليمات مباشرة عن مكوناته وكيفية التعامل مع حقوله    كل ما عليك فعله هو وضع زر الماوس ");

Thanks,

Mayank

Avatar

Avatar
Validate 25
Level 5
James_R_Green
Level 5

Likes

47 likes

Total Posts

191 posts

Correct Reply

47 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 5
James_R_Green
Level 5

Likes

47 likes

Total Posts

191 posts

Correct Reply

47 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
James_R_Green
Level 5

27-12-2018

Have you tried inserting \n

It may insert a new line character.

E.g.

"Abc def"

"Abc\n def"

Avatar

Avatar
Validate 1
Level 2
khaldoona993089
Level 2

Likes

8 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
khaldoona993089
Level 2

Likes

8 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
khaldoona993089
Level 2

27-12-2018

this code give the message

===========

xfa.host.messageBox("   السلام عليكم ورحمة الله وبركاته ... يعطيك قالب التقارير تعليمات مباشرة عن مكوناته وكيفية التعامل مع حقوله    كل ما عليك فعله هو وضع زر الماوس على الحقل لتعرف المطلوب ", "Alert", 3);

but I need the message apear on there lines :

first line :

السلام عليكم ورحمة الله وبركاته

2nd line :

يعطيك قالب التقارير تعليمات مباشرة عن مكوناته وكيفية التعامل مع حقوله

3rd line :

يعطيك قالب التقارير تعليمات مباشرة عن مكوناته وكيفية التعامل مع حقوله    كل ما عليك فعله هو وضع زر الماوس

==how can write the code to make the message on 3 lines ?

Avatar

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile
Mayank_Gandhi
Level 10

26-12-2018

You can put the message on form initialise of guideroot container.