Hello all, I'm relatively new to IUI and want to thank all of those
who developed it.  It is proving to be a great tool to get started
with iPhone web development...

I'm working on a prototype application and I want to see if I'm
handling text areas in an appropriate manner.  I basically have a
series of questions that our users will need to fill out.  These are
all going to be fairly lengthy text fields, so my plan is to have the
user see the first question, complete the text area with his/her
response, then click a submit button, which will take them to the next
text field, etc...  Each question will be a different <ul>.

Here is a sample of what I have so far:
<ul id="diagnose0" title="Diagnosis" class="panel" selected="true">
<form title="diagnose0" class="panel">
<h2>Develop a problem list for this patient</h2>
  <fieldset>
  <div class="row">
  <textarea rows="15" cols="45" style="padding: 12px 10px 0 0;">
  </textarea>
  </div>
</fieldset>
<a class="whiteButton" type="submit" href="#diagnose1">Next Question</
a>
</form>
</ul>

As you can see, I'm using a <textarea> inside of a row <div>.  The row
will not have a label element in it because the question is posed
above the text field in <h2>, therefore, I added the
<style="padding...> line so that the text area starts out at the very
left of the row, rather than allowing for the label's space.

This markup looks OK as long as the iPhone is kept in portrait mode as
evidenced by:
http://tinyurl.com/muezwt

However, in landscape mode, it still leaves the space for the label:
http://tinyurl.com/kjq6bv

So, I guess I'm asking if I'm using the correct procedure for dealing
with long entry text fields in IUI?  If so, how do I style it to
account for switching to landscape mode.

Any help/comments are appreciated!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to