#1 2016-05-21 23:51:45

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

HTML control field to a text control

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:

<input type="text" id="autofill" list="languages" placeholder="e.g. JavaScript">

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/C … mplete.zip

Thanks
Best
Joseph Caristena
...

Offline

#2 2016-05-22 02:31:27

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,661
Website

Re: HTML control field to a text control

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.

Online

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.