Support > Forums > OpenBots Studio > HTML placeholder and Required input field
This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...
Hi Chantha HUY,
Question 1: How to Add a Validation-Required Input Field with a Placeholder in an HTML Form in OpenBots Studio
The HMTL Input command builds the desired form using HTML form format. To add a default value, you would follow the standard HTML syntax, in this case you can use the attribute value="default value". Please check the following code example: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_value
In this case, setting the form value as required is not possible, since the variables are already initialized at runtime. However, you can add conditional logic based on empty/null values to let the user know that fields are missing or prompt to enter information again.
Additionally, if you need more robust form creation and design, I would recommend checking OpenBots Business Apps. This OpenBots platform allows you to design and host web forms that can be integrated with your automations, using a low code structure This platform is included with your OpenBots Cloud Server trial subscription.
Check following links for reference:
https://openbots.ai/openbots-sites-forms/ https://www.youtube.com/watch?v=e-iKK4a2Mxk&t=1070s
Note that certain websites/html elements do not support simulate integration. Due to this, Studio offers simulate and manual modes to interact with web elements. Simulate commands send the action through a background processing, while manual actions move the mouse physically to the element.
You are not authorized to reply, please click here to login and add your reply to this topic.