Hello,
Where can I find some extensive documentation on the javascript functions and widgets within the Visual Designer.
Example....
I was looking for how to retrieve the state of a radio button and value when I found an example on the forums pertaining to something else entirely...
if (getObj("PrtRb1").checked) wsmode=getObj("PrtRb1").radioValue;
Where can I find documentation on things like the .checked or .radioValue, etc,etc...?
This example just happened to be the functions I was looking for.
However, It would be much quicker if there was some documentation on the functions I can use
Thank you much
Documentation
-
- Profound User
- Posts: 35
- Joined: Fri Jan 12, 2018 10:53 am
- First Name: Doug
- Last Name: Matthews
- Company Name: Maverick Transportation
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Documentation
The JavaScript coding documentation for Profound UI (client-side JavaScript and Widgets) can be found here:
https://docs.profoundlogic.com/x/1wBK
It's not exhaustive because a lot of what you can do is standard JavaScript, not really part of our products, but just generally part of coding JavaScript, HTML, etc.
For example, the 'checked' property you cite is part of the standard HTML DOM. You can read more about it here:
https://www.w3schools.com/jsref/prop_ch ... hecked.asp
The getObj() API that you're using is really just our own shorthand for document.getElementById() that you find in standard JavaScript coding. So you are getting the HTML check box element, and checking it's "checked" status the same way as the examples in the link above.
The 'radioValue' property that you cite is one that I'm not familiar with. I suspect that's something specific to Profound UI, but I don't see documentation for it anywhere -- which means it's an an accidental omission in our documentation. If you notice things like that, you can let our support team know at support@profoundlogic.com and we can add documentation.
https://docs.profoundlogic.com/x/1wBK
It's not exhaustive because a lot of what you can do is standard JavaScript, not really part of our products, but just generally part of coding JavaScript, HTML, etc.
For example, the 'checked' property you cite is part of the standard HTML DOM. You can read more about it here:
https://www.w3schools.com/jsref/prop_ch ... hecked.asp
The getObj() API that you're using is really just our own shorthand for document.getElementById() that you find in standard JavaScript coding. So you are getting the HTML check box element, and checking it's "checked" status the same way as the examples in the link above.
The 'radioValue' property that you cite is one that I'm not familiar with. I suspect that's something specific to Profound UI, but I don't see documentation for it anywhere -- which means it's an an accidental omission in our documentation. If you notice things like that, you can let our support team know at support@profoundlogic.com and we can add documentation.
Who is online
Users browsing this forum: No registered users and 0 guests