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

MHWinter
MHWinter
Online

Badges

Badges
24

Accepted Solutions

Accepted Solutions
14

Likes Received

Likes Received
65

Posts

Posts
71

Discussions

Discussions
13

Questions

Questions
58

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by MHWinter
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
I guess you can combine both lines:this.rawValue = round(Avg(overall_score2, overall_score1)+.005,2)-.01Designer seems to only offer rounding to the closest decimal, whereas you needed to round down to the decimal below. So I don't think you can escape doing a little math!

Views

137

Likes

2

Replies

1
Re: Simple formcalc Avg calculation default value issue - Adobe Experience Manager Forms 10-02-2022
To round down, in FormCalc, you could use this formula:round(NumericField1.rawValue + .005,2)-.01

Views

148

Likes

2

Replies

3
Betreff: Need drop down choice from one table to be added to a new table with a click of a button. - Adobe Experience Manager Forms 09-02-2022
Currently in your form, the checkbox shows or hides the Type dropdown field of the 1st instance of the table only. I see at least 3 options depending on what you are trying to achieve, which is still not clear to me:- the single check box shows or hides all instances of the type dropdown field, i.e. for each instance of the table --> use resolveNodes;- each CARD (i.e. table) includes its own checkbox to show/hide the type field in that table --> this.parent.parent.parent.Row1.type.presence... (a...

Views

124

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
See Designer Scripting Basics guide's chapter on Creating and Reusing JavaScript Functions

Views

296

Likes

2

Replies

1
Re: How to make a script that can work universally across any page and any object - Adobe Experience Manager 08-02-2022
Here is the form with the script in KPI 1 thru 3

Views

321

Like

1

Replies

5
Re: How to make a script that can work universally across any page and any object - Adobe Experience Manager 08-02-2022
Not sure it saves you a lot but here is an option. 1. create a script object to set the rating fields as required or optional based on 3 parameters: - the page number - the object number - the status of KPI (empty or not)2 include a script in the exit event of each KPI field to test if KPI is empty or not and call for the script object. I tried this and it worked:Script Object:pmp.#variables[0].RatingMandatorySetting - (JavaScript, client)function CheckMandatory(PageNumber,ObjectNumber,Status){/...

Views

324

Like

1

Replies

6
Re: How to make a script that can work universally across any page and any object - Adobe Experience Manager 08-02-2022
would you want to share the form?

Views

331

Like

1

Replies

8
Re: How to make a script that can work universally across any page and any object - Adobe Experience Manager 08-02-2022
what if you re-define sTarget as var sTarget = "object"+i+".kpi"+i;... if(this.resolveNode(sTarget).rawValue == null){ ...

Views

337

Like

1

Replies

11
Re: How to make a script that can work universally across any page and any object - Adobe Experience Manager 08-02-2022
There are exceptions to that I believe: if the script is included in a script object or attached to an object of the master page, I believe the complete SOM would be needed… but I’m not 100% sure.

Views

344

Like

1

Replies

13