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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

commalliance
commalliance
Offline

Badges

Badges
16

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
25

Posts

Posts
33

Discussions

Discussions
13

Questions

Questions
20

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by commalliance
Customize the badges you want to showcase on your profile
Re: Simple formcalc Avg calculation default value issue - Adobe Experience Manager Forms 10-02-2022
Ok, great, I didn't realize you could combine that, but thank you for that information.

Views

95

Like

1

Replies

0
Re: Simple formcalc Avg calculation default value issue - Adobe Experience Manager Forms 10-02-2022
Thank you so much for your help, as I am learning a lot.I actually thought maybe that I could do a divide calculation within the formula you gave me to achieve my end result, but quickly found that I couldn't, so I ended up having to do this code, which seems to be working correctly this.rawValue = Avg(overall_score2, overall_score1) round(this.rawValue + .005,2)-.01since I need to get that average but keep it from rounding up. So the few tests I have done, I have backed up with using a calculat...

Views

100

Like

1

Replies

2
Re: Help with Button to Display custom Alert - Adobe Experience Manager Forms 09-02-2022
I figured it out, for anyone who has a similar issue. What I did is changed this piece of code:if ((oFields.item(nNodeCount).ui.oneOfChild.className != "button") && (oFields.item(nNodeCount).mandatory == "error" ||oFields.item(nNodeCount).rawValue == "0"))to this:if ((oFields.item(nNodeCount).ui.oneOfChild.className != "button") && (oFields.item(nNodeCount).mandatory == "error" && (oFields.item(nNodeCount).rawValue == "0")))and it works like a charm now

Views

63

Likes

0

Replies

0
Re: Simple formcalc Avg calculation default value issue - Adobe Experience Manager Forms 09-02-2022
So, I was testing the code for these drop down fields and I realized that is was rounding up to the 2nd decimal, for example 4.745 was displaying as 4.75. So, I simply added - .005 to the end of the calculation, so now by default the field is displaying -0.01 by default. I have been trying various codes for example:if (this.rawValue != null) then "" endifI have tried a few other things like: this.rawValue = PBoverall.value.toFixed(2)but anything that I do to either set the default value as null ...

Views

115

Like

1

Replies

4
Help with Button to Display custom Alert - Adobe Experience Manager Forms 09-02-2022
I have the following code I found and tweaked for our purposes, however I am having difficulty modifying the code so that it only reports back all dropdown fields in my form, which are required, and have a default value, which is "0".I've been playing with it, and I thought the current code would work, but it displays required fields as well as fields containing "0"Can someone please help me out. var EmptyFields= new Array(); for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++)...

Views

68

Likes

0

Replies

1
Re: How to make a script that can work universally across any page and any object - Adobe Experience Manager 09-02-2022
thank you, I appreciate it, will definitely review this document

Views

201

Like

1

Replies

0
Re: Need help with code that checkes to make sure all required fields are not "0" - Adobe Experience Manager Forms 09-02-2022
ok thank you for your help. I found and tweaked the following code to help with the first code I posted in my original postvar EmptyFields= new Array(); for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) { var oFields = xfa.layout.pageContent(nPageCount, "field"); var nNodesLength = oFields.length; for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) { if ((oFields.item(nNodeCount).ui.oneOfChild.className != "button") && (oFields.item(nNodeCount).mandatory == "er...

Views

97

Like

1

Replies

0
Re: How to make a script that can work universally across any page and any object - Adobe Experience Manager 08-02-2022
Thanks, I really appreciate your help. was trying to find more information on the RatingMandatorySetting.CheckMandatory code, i tried looking it up but couldn't find anything. do you know where I can read up about this so I can learn more about other places I can possibly use this?

Views

238

Like

1

Replies

2
Re: How to make a script that can work universally across any page and any object - Adobe Experience Manager 08-02-2022
thank you, for your help, just FYI i am unable to access the file and have requested access

Views

252

Like

1

Replies

4
Re: How to make a script that can work universally across any page and any object - Adobe Experience Manager 08-02-2022
sure here is the form https://drive.google.com/file/d/11Ds94HjTr2wrZNKYq61_S7b3TqXe97v8/view?usp=sharing i was playing around with field kpi2 as you will see to trial and error to no success.

Views

263

Like

1

Replies

0
Likes given to
Likes from