Forums

event on load.... chronoforms 7

economyweb 14 Oct, 2021
Answer
Hello everybody,

I have a form that it can edit and update a record or create a new record. RUN PERFECT!!

Depends on vars url the form show field values or show fields empty.

https://management.wanderlustgs.com/component/chronoforms7/?chronoform=ncustomers&gpage=edit_start_page&id=75
https://management.wanderlustgs.com/component/chronoforms7/?chronoform=ncustomers&gpage=edit_start_page&id=

The form has a "button" for to do other thinks but only can show it when I have editing a record.

I need to hide a button if id="" , that is when create new record.

At the moment
I add a event for to hide button but I dont find one option to compare the "id" value.
id field is a hide field.

Thanks
economyweb 19 Oct, 2021
In button add "data -> run condition"
{data:var_url} != (empty)
You need to login to be able to post a reply.