calculation fields/ formulas

New Here ,
Feb 14, 2021 Feb 14, 2021

Copy link to clipboard

Copied

  1. Hi there.
  2. I want to create an order form. I need to connect two calculation fields for the article and price.
  3. Í did a dropbox for the articles. So when the customer click Article A he has to see price A. Article B, price B...
  4. And where do I put the forrmulas? In which field?

Thank you for anyone who can help!

TOPICS
How to, JavaScript

Views

57

Likes

translate

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
community guidelines
Adobe Community Professional ,
Feb 15, 2021 Feb 15, 2021

Copy link to clipboard

Copied

In dropdown field give articles, price as export value for example give article A export value 100 give article B export value 150 (thats just for example you input your real price as export value)

then in text field were you want to show price put this as custom calculation script:

event.value = this.getField("Dropdown1").value;

 

Change "Dropdown1" to your dropdown field name if necessary, and also in dropdown field options check "commit selected value immediately"

Likes

translate

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
community guidelines
New Here ,
Feb 15, 2021 Feb 15, 2021

Copy link to clipboard

Copied

Thank you so much Nesa! I'm going to try this.

Likes

translate

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
community guidelines
New Here ,
Feb 15, 2021 Feb 15, 2021

Copy link to clipboard

Copied

It's working! Thank you so much!

Likes

translate

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
community guidelines