开发者

How to show required field with jqtouch in iphone view?

I've just started designing pages particularly for iphone browser (safari). I don't know if jqtouch is best or not, but I started working on it.

Till now I learned initialization of 开发者_开发技巧jqtouch, and also implemented some touch events (tap, swipe).

Now I am planning to create user interface and forms. For that I take a look on demo (Best viewed in webkit).

Now coming to my question, that what would be the best way to show required field in iphone view?

You can post any suggestions on UI creation for iphone..

Question belongs to only HTML, not related to objective c!


To start off, I don't think there is a convention for indicating a required form field in iPhone. So, it really is up to the developers. It also depends on how you implement the form fields. There are a few different ways you could do this. For example,

  1. Text input field with a placeholder attribute

  2. Drill down form, e.g. Settings

  3. Key-value fields, e.g. Contacts

How to show required field with jqtouch in iphone view?

For the first option, you may have more space to put in more informative wording, such as that suggested by Vikas: "Username (required)".

For the latter two, you might just follow the desktop convention by adding an asterisk in the front/back of the label, e.g. "* Username".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜