Change input value to text box value

another odd one

currently have lots conditional on a text box - can be 4 different values depending on other input values

the text box shows different dynamic prices depending on things like VAT or discount selected

when the user clicks a ‘book’ button i’d like an data field value to equal the value of that text box - but it seems like i can only set it to the text box’s length or height - but not it’s ‘value’

Text elements don’t have values… they just display text (including input element’s values)…

So, if you want to set some data in the database to be the same thing the text element is displaying, just set it with the same dynamic data as the text element.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.