frm-condition help... using Option Label & Value in same Condition

By: Brian Bollman | Asked: 06/09/2023
ForumsCategory: Code Helpfrm-condition help... using Option Label & Value in same Condition
Brian Bollman asked 2 years ago

Basically we have created a stock management system of sorts. Previously we didn't need to use separate values to make it work.

Here is an example.  [frm-condition source=frm-stats id=82 type=total 261="Saturday/Sunday 8:00 - 9:30 am" less_than=37][input opt=1][/frm-condition] id=82 is equal to a "ticket number" entry where basically once it surpasses 37 it hides the option.

We subsequently had to use separate values for an API transfer to work properly.

The issue is we need to have the form ID of (in this example) 261=both the option label and the value since we made the change after entries have already started being taken... so simply changing the value to 140104 doesn't solve the problem. 

[frm-condition source=frm-stats id=82 type=total 262="140104" or 262="Saturday/Sunday 8:00 - 9:30 am" less_than=9][input opt=1][/frm-condition]

That code does not work but curious if anyone has the solution to this problem with some kind of custom code? 

Attachments

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right