(solved) Hidden databasejoin element help

Status
Not open for further replies.

jmoises

Active Member
It is posible to unhide a databasejoin using JS in other element in same form?

I have try many ways but no luck that is why i create this post

thanks
 
Well, it depends how the join element was hidden. If you select "Hidden" under the main Options, then no. What that does is adds the element as a simple hidden input on the form, like <input type=hidden value="123" />. The element is not "rendered".

If you want to have an element which can be shown and hidden through JS, you have to leave "Hidden" unchecked, and add a "load" event on the element which you want to control the visibility with, which shows or hides the join element as appropriate on load. This is in addition to the 'click' or 'change' JS events which hide/show your join.

-- hugh
 
Thank cheesegrits i will never finish this because i did select the hidden in main options.

Thank you
 
Just unselect "Hideen", and add the 'load' event to whatever element it is you are using to control the visibility, to hide the join if that element has the value you use to mean "hide".

-- hugh
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top