Hide a select box and text field (or any form element) using custom HTML

Confluence User - 09 Nov, 2021

Hello~ 

I am trying to use a select box which is to be linked to a spreadsheet dropdown column in another form.

This select box's purpose is just for linking and not need to display to any users, but I can't find any visibility settings for the select box.

May I know how can I hide such select box (or any form element) ?


Thanks!~ 


Regards,

Wesley.

forms;selectbox;hide

4


09 Nov, 2021
confluenceUser
confluenceUser

if you want to hide any component/field based on some value, put those components/fields in a separate section and you can control visibility of that section.

For more details. check this out: https://dev.joget.org/community/display/DX7/Section#Section-Visibility

09 Nov, 2021
confluenceUser
confluenceUser

Hi Anas,

Thank you for your reply. Sorry for I forgot to mention that I need to perform duplicate value validator on that field.

I have tried the section visibility method above, it can hide the field but the validator also become not working.


09 Nov, 2021
confluenceUser
confluenceUser

i'm still confused as to what you want to do?

09 Nov, 2021
confluenceUser
confluenceUser


Hi Anas, 

Sorry for making it confusing. 

As shown in the above image, the text field "mk" consists of combined value of type, category, qty from and qty to. It is to control duplicate entries of the above text fields.

This text field have a duplicate value validator.

If I hide it by using the visibility control as mentioned in your answer, I am able to hide the section, but it will also make the duplicate value validator of this text field not working.

Hence I thought of using a custom HTML field to hide it so it wont be visible to users as it is just a field to control duplicate entry.

Thanks! ~

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print