NetTalk Central

Author Topic: Things I learned  (Read 2757 times)

Thys

  • Sr. Member
  • ****
  • Posts: 311
    • View Profile
    • Incasu
    • Email
Things I learned
« on: June 20, 2011, 11:54:55 PM »
For use by others here are some of the items that I got from Bruce recently:

1. What does p_web.SetValue ('retry', 'LoginForm') do?

If the validation for the form fails, then this is the URL it will return to so the user can try again.

2. If a field can only contain one character, how can the focus advance to the next non readonly field automatically?

Use the Auto Tab option on the field.

3. In Wizard mode, when pressing enter on the keyboard - what happens? I thought it would be pressing the Next button (or something regarding the wizard buttons), but it doesn’t seem to work like that.

I've no idea what it'll do. I'm not sure what it _should_ do really. I guess in a windows program I'd expect it to press "Finish".

4. How do I right-align a prompt so that it's next to the entry? Tried align="right" on <td> but did not have effect.

in your custom style sheet file put;
 
.nt-prompt{
float:right;
}
 
or if you want more control in custom style sheet file put
 
.my-right{
float:right;
}
 
and then add the my-right class to the prompts you want moved to the right. With fields that contain multiple fields in the same row, this is probably not a good idea.