HTML control field to a text control

  • d
  • h
  • m
  • s

Joseph Caristena

Hi,
I am programming a simple autofill zip code.

I inserted the js file called index.js in
App
File's Manager
Scripts

The App Path is:
app/scripts/index.js

And then the css file called style.css in
App
File's Manager
Others

The App Path is:
app/files/style.css

Then I am using the HTML control to insert the HTML code of the page.

Now I have to get the selected value of a textbox called autofill:

and insert the value in a text control of a View form.

How can I transfer the value of a field from HTML control to a text control of a View form ?

Here is the link of the HTML file:

http://www.egovmetrics.com/000Scripts/CSSAutocomplete.zip

Thanks
Best
Joseph Caristena
...


decsoft

Hello Joseph,

The inputs' "datalist" are quite interesting, but, what about to use the Typeahead control already included in App Builder? Are you take a look at this control in the Typeahead app sample?

Another possible approach is to use the Select control, who allow us to choose one element from the list. This control is useful also in mobiles, since the OS show us a cute list of elements to choose.


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.