Tech Bites - Make your forms look better

< Back to Blog

Have you ever wondered why your web forms all look the same? With boring white rectangular boxes for the user to fill in?

Let's see how to build a more modern form using OutSystems UI available tools.

In this case, we are building a form to save a new house sale for a real estate company.

Sales have attributes, like the profit margin and number of bedrooms.

Let's substitute the number of bedrooms input for a slider. First, delete the existing "input", then create a slider.


Set the property values for the slider like the minimum and maximum values allowed.
Create a handler to be triggered when the user changes the value of the slider.


On that action, we're going to assign the slider value to the aggregate.


The label is no longer assigned to the input widget. Remove it for the error to disappear.

And that's how we have a different and more user-friendly form.

Thanks!





Turn Up Academy

Apply to our Turn Up Boot Camp

AND BECOME THE NEXT OUTSYSTEMS CERTIFIED DEVELOPER
(
Instructor
)

Latest Articles

How to download Excel files in OutSystems

How to download Excel files in OutSystems

Learn how to download Excel files using the OutSystems platform in this simple tutorial!

DevZone
Mastering Email Integration with OutSystems: A Step-by-Step Guide

Mastering Email Integration with OutSystems

In OutSystems Reactive Web Applications, we can configure the Service Center and implement logic in the Service Studio to send emails to our peers or contacts. Follow this step-by-step guide to learn how to!

DevZone
How to use WebAssembly inside OutSystems - Part 2

How to use WebAssembly inside OutSystems - Part 2

WebAssembly (WASM) is a new technology that is getting a lot of attention. We continue the use of Go compiled to WASM to show how we can use WASM inside OutSystems.

DevZone