Highlighted

Adobe some fields not refreshing

New Here ,
Oct 12, 2020

Copy link to clipboard

Copied

I have update some cells with formula using javascript, (amount to calculate based on the item selected and qty from another cell) but the rate is not refreshed when i select a different item. Then i have to select the rate cell and enter a  value (it does not allow the value I entered to be populated, but then it refresh the rate as per the item selected)

in simple; the rate field is not refreshed when i change the item from the drop down unless i click the cell and enter something.

TOPICS
Edit and convert PDFs, PDF forms

Views

119

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Adobe some fields not refreshing

New Here ,
Oct 12, 2020

Copy link to clipboard

Copied

I have update some cells with formula using javascript, (amount to calculate based on the item selected and qty from another cell) but the rate is not refreshed when i select a different item. Then i have to select the rate cell and enter a  value (it does not allow the value I entered to be populated, but then it refresh the rate as per the item selected)

in simple; the rate field is not refreshed when i change the item from the drop down unless i click the cell and enter something.

TOPICS
Edit and convert PDFs, PDF forms

Views

120

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 12, 2020 0
Most Valuable Participant ,
Oct 12, 2020

Copy link to clipboard

Copied

Fix the fields calculation order (under More in Prepare Form mode).

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 12, 2020 1
New Here ,
Oct 12, 2020

Copy link to clipboard

Copied

Thanks for the reply. but it still doesnt come automatically. i have to select and type something and pres enter. any reason with the code;

 

var Adult = this.getField("Adults").value;
var Child = this.getField("Child").value;


var Item = this.getField("MP").value;
switch(Item){

case "BB":
event.value = (Adult*100)+(Child*50);
break;

case "HB":
event.value = (Adult*150)+(Child*100);
break;

case "FB":
event.value = (Adult*200)+(Child*150);
break;

case "AI":
event.value = (Adult*250)+(Child*200);
break;

default:
event.value="";
break;
}

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 12, 2020 0
Adobe Community Professional ,
Oct 12, 2020

Copy link to clipboard

Copied

At the options of the dropdown enable the entry "Commit selected value immediately".

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 12, 2020 0
New Here ,
Oct 13, 2020

Copy link to clipboard

Copied

I have enabled that option as well, however it is still not automatically generating.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0
Adobe Community Professional ,
Oct 13, 2020

Copy link to clipboard

Copied

Can you share the form?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 1
Community Beginner ,
Oct 13, 2020

Copy link to clipboard

Copied

Hi Bernd,

Yes i can share. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0
Most Valuable Participant ,
Oct 13, 2020

Copy link to clipboard

Copied

Then do so, please...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0
Community Beginner ,
Oct 13, 2020

Copy link to clipboard

Copied

Please see the inbox.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0
Most Valuable Participant ,
Oct 13, 2020

Copy link to clipboard

Copied

What inbox?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0
Adobe Community Professional ,
Oct 13, 2020

Copy link to clipboard

Copied

Don't use the script as Custom Keystroke Script.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 1
Community Beginner ,
Oct 13, 2020

Copy link to clipboard

Copied

thank you. it works now. 🙂

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0