Alert command possibly broken ...

Alert command possibly broken ...

Hi:

Looks like the alert command is not working consistently ... as seen from the sample script below, I used the Script Builder Wizard to insert this command in both the onAdd ---> on Load and on Add ---> Validate sections of this Form ... notice that the second alert command is being stored without the wrapping brackets (...).

When I run this App, the second alert never pops up ... please investigate and advise/fix this issue.


Gaev

form Formula_Field
{
displayname = "Formula Field"

SomeText
(
displayname = "Single Line 1"
type = text
defaultvalue = "Jack and Jill"
)

Number1
(
displayname = "Number 1"
type = number
defaultvalue = 44
width = 20
)

Number2
(
displayname = "Number 2"
type = number
defaultvalue = 13
width = 20
)

Formula_1
(
type = formula
value = (Number1 / Number2).round(2)
)

LookupFromAnotherApp
(
displayname = "Lookup 1"
type = picklist
values = scripted_logic_examples_beginners.SLB001_City_List.CityName
tooltip = "Lookup from another App"
)

actions
{
on add
{
on load
{
alert("on Add on Load, inputSomeText is " + input.SomeText);
}
Submit
(
type = submit
displayname = "Submit"
on validate
{
alert "on Add Validate, input.SomeText is " + input.SomeText;
}
on success
{
info input.Added_Time;
}
)
Reset
(
type = reset
displayname = "Reset"
)
}
on edit
{
Update
(
type = submit
displayname = "Update"
)
Cancel
(
type = cancel
displayname = "Cancel"
)
}
}
}