Custom Rule Id Dropdown view

Colnem 05 Feb, 2022
Hi

What I have to write in javascript segment to use a custom rule?
I try something like return 0 or function test(var){return(var>'A');}, but doesn't work.

Then, I have a dropdown Element followed by a Rich Text Editor.

When I write javascript in my Dropdown Custom Rule, Rich Text Editor Disappear! I presume because I have an error in Dropdown Javascript custom rule...

Is there anybody to help me? Thanks...
Colnem 06 Feb, 2022
Hi Myself

I've found:
Javascript function to test Data:validate? + Validation:Custom rule:
function test(myvar) {return(myvar>0)}
Nota: myvar take the value of the data Field Dropdown.

Beware: if you have an error in your javascript function, Richt Text Editor is disabled in View Elements!!!
You need to login to be able to post a reply.