Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Gonçalo Almeida
2
Views
3
Comments
Insert option with Javascript
Question
Hi everybody,
Is it possible to imitate a ListAppend action with javascript?
The objective is to add an option to a select widget in run-time using javascript without having to reload the page again.
Tiago Simões
Staff
Hi,
This is possible but it’s not very advisable.
To keep eSpace easier to read it would be wiser to repost the page and create the logic in preparation.
Anyway, if that isn't really an option, you can see the attached oml with a small sample on how dynamically create options in a select widget.
dynamicselect.oml
2 replies
Last reply 15 Jun 2004
Show thread
Hide thread
Gonçalo Almeida
Thanks for the oml. But can you do the same without using the special list and using the CustomRecordset property?
Tiago Simões
Staff
Yes you can.
I've attached a modified oml that use a custom recordlist without a special list defined.
Check the attached Ok screen action where the variable value is checked if it is nullidentifier. If it is then the special variable should be used.
dynamicselect.oml
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...