Compare complex values as params

By: Luis Gerardo Macareno Balderas | Asked: 06/07/2024
ForumsCategory: General questionsCompare complex values as params
Luis Gerardo Macareno Balderas asked 4 months ago

Hi there Guys, iam trying to compare two values that are a summary of steel weight, and i want to show in a view. Iam doing like this:

<br>

1.- Params definition and data

<br>

[frm-set-get param=vp_steel][frm-stats id=6416 type=total 226_not_equal="Archive" 1252_contains="Shape" 764_contains="P703" 765_contains="Execution"][/frm-set-get]

<br>
[frm-set-get param=projects_steel][frm-stats id=6417 type=total 226_not_equal="Archive" 1252_contains="Shape" 764_contains="P703" 765_contains="Execution"][/frm-set-get]

<br>

2.- Compare data

<br>

[frm-condition source=param param=vp_steel less_than=param param=projects_steel]Lossing![/frm-condition][frm-condition source=param param=vp_steel greater_than=param param=projects_steel]Savings![/frm-condition] But seems that does not works :(

<br>

Some has experience in some like this? am i doing correct?  

1 Answers
Victor Font answered 4 months ago

Where are you placing frm-set-get? It needs to bo on the page or post before your shortcode for the form or view. Likewise, where are you using frm-condition?

Luis Gerardo Macareno Balderas replied 4 months ago

Thanks Victor

Iam placing frm-set-get in the top of a view, not in a page

and the frm-condition in the same view, below of the frm-set-get

Victor Font replied 4 months ago

Frm-set-get needs to be on the past or page before the view shortcode. You have it in the wrong place.

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