Floating Fields in Adaptive forms

Avatar

Avatar
Validate 1
Level 2
PriyankP
Level 2

Like

1 like

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
PriyankP
Level 2

Like

1 like

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
PriyankP
Level 2

06-03-2017

Hello Experts, 

I am working on a project where we are creating dynamic Adaptive forms.  Within that Adaptive form, we have a requirement to put Static text (disclosures, information etc). The static text can have some placeholders where data from XML needs to be populated. 

For example, it could be a information text such as - 

"You credit card allows you to withdraw $10000 a month" . Here the $10000 must be populated from prefill XML. 

I know in Livecycle world, we had something like Floating Fields. Do we have something similar in Adaptive forms? 

Replies

Avatar

Avatar
Give Back 25
Level 5
TundraSteve
Level 5

Likes

51 likes

Total Posts

442 posts

Correct reply

57 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Level 5
TundraSteve
Level 5

Likes

51 likes

Total Posts

442 posts

Correct reply

57 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
TundraSteve
Level 5

07-03-2017

It's not there for Adaptive Forms at the moment and something we're looking to add to a future release based on demand to drive the priority.  Thanks for indicating the interest and I've let the Product Management team and engineering know there was a request for this capability.

Avatar

Avatar
Validate 1
Level 2
PriyankP
Level 2

Like

1 like

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
PriyankP
Level 2

Like

1 like

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
PriyankP
Level 2

17-03-2017

Oh - Is there a workaround that you know of? 

Avatar

Avatar
Boost 5
Employee
deepak_k_
Employee

Likes

5 likes

Total Posts

84 posts

Correct reply

32 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Employee
deepak_k_
Employee

Likes

5 likes

Total Posts

84 posts

Correct reply

32 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
deepak_k_
Employee

19-03-2017

You can use fillable text box in disabled mode(disable via rule).

Avatar

Avatar
Validate 1
Level 2
PriyankP
Level 2

Like

1 like

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
PriyankP
Level 2

Like

1 like

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
PriyankP
Level 2

23-03-2017

deepak k. wrote...

You can use fillable text box in disabled mode(disable via rule).

 

 

 

You mean - derive/calculate the entire paragraph as a part of Javascript and assign it to a textbox ? 

Well - I did think of this option earlier but I had to let that go because 

1) The actual content (paragraph text/language) is in the Javascript. Which means I can't let my business users have control over it OR i can't use the dictionary for multi-language support.

2) I won't be able to handle RichText as TextBox would typically only capture plain Text. 

 

I am actually working on another work-around and unfortunately I haven't been successful so far 

I am creating a static text - "Your Credit Card allows you to Withdraw {DollarAmount} dollars". 

I am trying to use Rule Editor (Code Editor mode) to write a rule on Initialize event to replace the string {DollarAmount} with the actual value. 

Here's what my rule looks like 

var strVal = this.value ; // this gives me the static text value strVal = strVal.replace("{DollarAmount}","$10000"); alert(strVal); this.value = strVal; alert("After");

 

The problem is all the lines are getting executed. I am getting both the alerts, but the rendered Adaptive Form wouldn't update the Static text. 

Any idea why it wouldn't let me set the value of TextDraw (static text) element? 

 

Thanks, 

Priyank P