Use hidden field data number into score | Community
Skip to main content
Answered

Use hidden field data number into score


Forum|alt.badge.img+1

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 

 

 

 

Best answer by john.desborough

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

des

View original

john.desborough
Forum|alt.badge.img+6

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

des


Forum|alt.badge.img+1

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