Answered

Use hidden field data number into score

  • 17 May 2023
  • 2 replies
  • 92 views

Userlevel 1
Badge

Hey Everyone,

 

I am stuck and would like to have your help. 

 

I would like to add hidden field which can give opportunity to my team to set value (cost of service).

This value should be used in the form using “Score” instead of my Hidden Field as I would like to be able to adapt the value from the answers of our clients.

 

Why should I want to do that : For example, if our cost of service is 1000 we will set up a link with 1000 as value, the client can pay with card and to total cost would be now 1003. For doing this we multiply @score (or @price) per 1.03.

The problem is I should be able to transform original hidden field set up at 1000 into score, first, and then to be able to multiply.

 

The only way I see looks like a nightmare and would be at starting of the form logic, by doing hidden field value : 10 = @score 10  

Hidden field value 11 = @score 11 

 

 

 

icon

Best answer by john.desborough 17 May 2023, 14:09

View original

2 replies

Userlevel 7
Badge +6

@maximegautier - hidden fields are passed in as character strings and not numbers so you don’t have a value to start with.. 

des

Userlevel 1
Badge

Thank you @john.desborough for helping..

 

I succeed to transform my hidden fields number in @score - 

 

My need now is to pass my final score result into Trello card 

 

 

 

Reply