[Reactive web] Disable a form based on condition
Question

Hello,

I know the topic has already discussed in below thread, however, my question is a little bit different, how to disable a form based on a condition with fieldset? (In traditional web, it does support, I am not sure in Reactive web.

https://www.outsystems.com/forums/discussion/61560/enabled-property-on-reactive-web-form/

I am newbie to Outsystem as well as coding as well. Thank you. 

Solution

Hi Giang,

I hope this will be helpful to you. You can check by below URL or attached OML file.

https://rahuljain877.outsystemscloud.com/FormDisable/Screen1


Regards

--RJ--

Form.oml

If you want to check the condition for enabling or disable the fieldset.


You can check my oml file and go to the screen1 page.

test3.oml

Create a class to disable programatically:

.dropdowndisabled{
        cursor: not-allowed;
        pointer-events: none;
        color: #c0c0c0;
        background-color: #ffffff;
}

Use it in the form, with a control variable:


Solution

Hi Giang,

I hope this will be helpful to you. You can check by below URL or attached OML file.

https://rahuljain877.outsystemscloud.com/FormDisable/Screen1


Regards

--RJ--

Form.oml

Dear All,

Thank you so much for helping me with a lot of solutions! It does help me!

All the solutions works well! Thanks again!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.