Hello,
Hope you had a nice Christmas time, maybe you can help with this
I created an input form in a form. This input form is linked to an option set (ex. When the price variation is of 0, then it displays "price is stable’ extracted from an option set)
You’re trying to set 13_Contract_Reason to text (for example, Avenant prix constant’s Display is a text type) when 13_Contract_Reason wants an option.
Indeed, I’m trying to directly feed the database with text corresponding to the value of the option set using an input form. In this case the result is mecanical (if the price is X, the value of the option is Y with an X depending on the values of in the form)
I’m not sure what you are asking here. You have a type mismatch… simple as that. You can’t save a text value to a field that is tied to an option set. I guess you could use the Get an option operator to get the option from the set where the display matches the text, but again, I’m not sure what you are trying to do here.
Initially, I was willing to use an option set in the « Contract_reason » field because it restricts the possibilities (here : new contact, endorsement with tarif increase, endorsement with tarif decrease)
In the form, I have data (here : value of new contract and value of old contract) that triggers the option set value (here : if new value > old value then it an “endorsement with tarif increase” - done via conditions)
Process works excepts that the value is a text and seems that it cannot feed the DB so I’m looking for an alternative option to feed the DB (of course I can use a “text” field in DB but seems less elegant)
I still don’t get it, but I will respond one more time. If you are asking if you can save a value in a field that is tied to an option set by using a text value to get the correct option, the answer is yes, and it would look something like this.