Skip to main content link. Accesskey S

The useful resource for Titanium and YouAtNotes Domino To Go

Submit Search

Home > Titanium > Ti: work with fields

Ti: work with fields

ShowTable of Contents

Using YouAtNotes Framework


Use YNUI.createTextField(type, hintText, defaultValue, width, isPassword)

with

type: UI type of the field. The following types are currently supported:
- "settings": rounded border, slight padding, similar to iOS setting fields

hintText: a hint text for the field

defaultValue: the default value of the field (optional)

width: a width for the field (optional)

isPassword: set to true to use a password mask

TextField


Make a password field

Standard:

Ti.UI.createTextField({
				editable : true,
				enabled : true,
				passwordMask : (isPassword ? true : false),
				autocapitalization : Titanium.UI.TEXT_AUTOCAPITALIZATION_NONE,
				value : 'defaultvalue',
				hintText : 'Password'
			});


When using YouAtNotes Framework:

YNUI.createTextField("settings", "Password", 'defaultvalue', null, true);

Add Comment

Name:
Comments:
Use  searchlotus.com  for news in the Web related to Lotus Notes and Domino,
and to search those sites.
Check  youatnotes.com  for great Lotus Notes, Domino and XPages software.