since ‎13-04-2018
‎10-12-2019
johnh86027037
Level 2
Re: How to fetch a field value in repeatable panel or table row?
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager Forms
This worked.  Loving it.~Thanks

Views

2.0K

Likes

0

Replies

0
Re: How to fetch a field value in repeatable panel or table row?
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager Forms
I am going to need to study GuideBridge(s) more. Mayank's solution works for me - but the GuideBridge looks like something I may need in the future.

Views

1.5K

Likes

0

Replies

0
Re: How to fetch a field value in repeatable panel or table row?
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager Forms
Sorry. that didn't work either.Tried:alert(Row1.instanceManager.instances[Row1.instanceIndex].tbcFirstNm[0].value);alert(Row1.instanceManager.instances[0].tbcFirstNm[0].value);alert(Row1.instanceManager.instances[0].tbcFirstNm);

Views

1.5K

Likes

0

Replies

0
How to fetch a field value in repeatable panel or table row?
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager Forms
We need a solution for an adaptive form - NOT a 'lifecycle' form...We have a few tables that allow for the rows to be added (addInstance) and removed (removeInstance). This all works.What I want to do - is to also fetch/display/null the value of a certain filed within a specific instance of a repeatable row. For example: Row1[1].textfield.value=null;oralert(Row1[1].textfield.value);Nothing I have tried seems to work - for instance, I have tried:Row1.instanceManager.instances[1].textfield.valuegu...

Views

4.2K

Like

1

Replies

7
Adaptive Forms - Checkbox: How do I reference the label of a checkbox?
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager
I am creating an adaptive form that could potentially have over 1800 different panels. Most of these panels are similar - so I would prefer to create a parent, then add an instance of that parent, based on the checkbox selected.Instead of writing code for over 75 industries (if this.value = "0" || or "1" || or, etc), I want to use the checkbox label.Object name - gets me the checkbox object name, but NOT the individual checkbox label value.For example: I want to use "Auto Body" and "Auto Service...

Views

884

Likes

0

Replies

0
Re: How to add values to a dropdown upon initialize
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager Forms
Mayank,Any progress?  Looking forward to seeing an example.ThanksJohn

Views

9.1K

Likes

0

Replies

1
Re: How to add values to a dropdown upon initialize
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager Forms
I have saved the Guide and refer to it constantly.Is there an example that I can reference? I cannot seem to find out to add each value - via the rule editor.Thanks

Views

9.1K

Likes

0

Replies

0
How to add values to a dropdown upon initialize
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager Forms
I am creating a dropdown list - where users can choose the proper year of business.This dropdown needs to be customized to the user: Values begin at the year the business began to generate hazardous wasteI need to add values for each year - up to the current year.I want the current year to be calculated instead of static.How do I add values to a dropdown list?In LiveCycle - I would do something like this: for (var i=dateBaseYear.rawValue; i<=dateCurrentYear.rawValue; i++){//console.println(i);th...

Views

9.6K

Likes

0

Replies

6
Re: Adding Script Objects to AEM Forms
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager Forms
Thanks.These links look like they will help.

Views

1.5K

Likes

0

Replies

0
Re: Adding Script Objects to AEM Forms
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager Forms
Yes I would.Whether we take a form we built in LiveCycle and move to AEM - or want to use the form as a Document of Record, but reuse as much of the scripts as possible in the adaptive form - I am hoping there is a way to import and reuse - versus starting over.If we cannot use the script objects that we created in the LC Form - then how do we add reusable functions that objects can use throughout the adaptive form?Thanks

Views

1.4K

Likes

0

Replies

0
Adding Script Objects to AEM Forms
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager Forms
Is there a way to use (or import) script objects in AEM forms?Primary use would be to reuse script objects from an ES4 LiveCycle form - into an AEM Form.Thanks

Views

3.3K

Likes

0

Replies

5
Re: Adaptive Form Table - How to get field(s) to recalculate after removing a Row Instance
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager
All,After working the problem through a little more - I solved it. Here is how I did it. Set up the rule in the rule editor.I wanted the code to fire regardless of how many rows there were – so instead of having code in the ‘row total’ of each instanceof the row – I added it to the ‘total of sums’ field.Since I want this code to fire all the time – I set the condition to fire when empty and when not empty.Then, I set the function result (sum) to add each of the instances of ‘row total’. DO NOT C...

Views

1.1K

Likes

0

Replies

0
Re: Adaptive Form Table - How to get field(s) to recalculate after removing a Row Instance
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager
Well... it seems to me that AEM Adaptive forms is regulating what you can and cannot do (versus LiveCycle). This would be easy in Livecycle.

Views

1.1K

Likes

0

Replies

0
Re: Adaptive Form Table - How to get field(s) to recalculate after removing a Row Instance
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager
I don't believe so. Looked through that pretty extensively yesterday. Will be looking again today.

Views

1.1K

Likes

0

Replies

0
Re: Adaptive Form Table - How to get field(s) to recalculate after removing a Row Instance
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager
I haven't tried for two reasons:I assume a button would work.I don't want the user to have to click refresh every time they remove a row. We should be able to be intuitive enough to solve for that. Essentially, #1 is in my back pocket - just in case.

Views

1.1K

Likes

0

Replies

0
Re: Adaptive Form Table - How to get field(s) to recalculate after removing a Row Instance
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager
I am using 6.2. Team will be updating to 6.3 soon.How do I share a form? The team has us on local hosts right now.Thanks

Views

1.1K

Likes

0

Replies

0
Adaptive Form Table - How to get field(s) to recalculate after removing a Row Instance
Avatar

johnh86027037

johnh86027037
- Adobe Experience Manager
I have a simple table in a draft form - just trying to get the fields to recalculate after removing an instance of a row. Adding an instance and using the field(s) work just fine - but if I remove a row - the TOTAL OF COLUMN does not recalculate.I would prefer NOT to use an extra click to solve. I am hoping I can recalculate upon 'removeInstance'.How do I accomplish this?ThanksJohn

Views

4.3K

Like

1

Replies

12
Likes given to
Likes from