Pretty well finished with my mobile application, only the alert messaging to sort out
If I use
loc:Alert = 'Unknown Login Name. Try again.'
I get the desktop result on my login form as shown in Alert1.jpg
when I set to mobile mode I get the result in alert1a.jpg
Question1
This is the section highlighted in firebug in mobile
<div id="alert_div" class="nt-width-99 alert ui-state-error ui-corner-all nt-inline">Unknown Login Name. Try again.</div>
adding red into the class gives me the result I want but I can't seem to get this accepted in my css file
I have done this
.alert_div {
red
}
What should I have done?
Question2
In an entry field I do a validation of a field
If it fails I can use either
loc:Alert = 'Invalid ID Number.'
or
p_web.SetAlert('Invalid ID Number.',1,'PolicyNewMobileA_FORM')
and I get the result in alert2.jpg
The problem here is I am not getting the message appearing in red near View policy details as I do in alert1.jpg for the login screen
This is not a major issue in desktop mode but when I change to mobile this become a major issue since the popup doesn't appear and the message at the top doesn't appear either (alert3.jpg)
How do I get an error message to appear?
[attachment deleted by admin]