Where conditions

Set a where condition in ChronoForms v6.

Overview

The issue was using an incorrect syntax for comparison operators in CF v6.
Use the format Model.field/operator:value, such as Model.field/<=:7 for less than or equal, or Model.field/!=:7 for not equal.

Answered
Connectivity v6
an anienebiketeam 22 Feb, 2017
Hi,
I try to set a where condition so:
Model.field <= '7' 

I tried different combination but they don't work (also using the syntax of CCV5).

Could you help to solve this?

Thanks
Francesco
Max_admin Max_admin 23 Feb, 2017
Answer
Hi Francesco,

This is how it should be in v6:

Model.field/<:7


Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
an anienebiketeam 27 Feb, 2017
2 Likes
Hi Max,

thanks its work!
I need of this expression: Model.field !=8

I did its with this code:
Model.field/!=:7


and it work perfectly .
This topic is locked and no more replies can be posted.