Skip to main content
June 9, 2021
Question

How do I add this required field to the form?

  • June 9, 2021
  • 5 replies
  • 0 views

I want to make this Form. It is not allowed to move to the next steps unless the person fills in the required fields. But I can't activate the "required" feature, even though I added it in HTML. Therefore, I want you to help me and add or activate a required feature to Exact field in that form. But I don't want all the fields, I just want them when I put the word required. And when I add new fields, I want them to work as well. I also want to increase the width of the form to 90% of the total area, while also increasing the size of the progress bar.
here is my full (HTML, CSS and JS): 

https://jsfiddle.net/Maroz/s19q3gnf/3/

5 replies

stefanhelzle0001
Brainy
June 9, 2021

You know this?

https://docs.appian.com/suite/help/21.2/SAIL_Tutorial.html

There is a parameter "required" available.

Or is this about a more specific question?

maroh0001Author
June 9, 2021

[mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05]
My problem is that I'm not good at dealing with JavaScript. Do you mind adding the code and inserting it in the correct place? I will be very grateful.Yes, I will add more fields

mikes0011
Brainy
June 9, 2021

Why are you even dealing with and/or asking about JavaScript here, though?  We don't generally deal with JavaScript in Appian, since SAIL provides an excellent layer of abstraction between Appian's design experience and the nitty-gritty code.

Or are you asking how to recreate this experience on a SAIL form?

The Expression Guru