If I read what you are trying to do right, you'll need this:
[if 236 equals="en"] [240] [else] [241] [/if 236] or maybe:
[if 236 equals="en"] [240] [/if 236] [if 236 equals="lt"] [241] [/if 236]
Yeah, the problem is that in the form fields IF function with text (en)(lt) doesn't work, it has to be integers. And i somehow need to make IF [text], then [text], ifelse [text] then [text]. That's what formidable support also confirmed.
That's why i'm asking here. Maybe somebody knows some workaround for this?
I'm pretty sure I've used it with strings in the way that I provided. The formidable example even shows it that way.
https://formidableforms.com/knowledgebase/conditionals/#kb-else
<p>Thank you for example i will try that, however on the same page it is stated " These can be used in a View, email notification, confirmation message, or redirect URL. Conditionals can not be used as default values in fields or in field calculations." And i need them specifically as a field value :)</p><p>EDIT: doesn't work, tried it both ways.</p>
Ah. My mistake. I didn't realize that would be in a form field (even though you indicated that). Let me look around and offer another suggestion.
Thank you once again. Maybe i'll explain why i need this, and we could find another way to achieve this.
After form is completed, there is a woocommerce product created. Due to form being multilanguage, i need two languages for excerpt as well. I've tried using regular field translations, but when fields are transfered to woocommerce, only main language is passed (not translations), which is weird. That's why i have to make two hidden fields for excerpts and choose one of these with language identification field. I can't think of a different approach.
Formidable has a text field for product description for example, so it lets you enter any IFs if you want, however excerpt only lets you select a specific field from a form (with a drop down), which is stupid in my opinion, since excerpts usually have more than one sentence, etc. I've already registered this problem, but i'm sure it will take decades to implement.
Have you read through this page: https://formidableforms.com/knowledgebase/formidable-multi-language/
It might give you some ideas.
Please login or Register to submit your answer