I have a weird issue that has just recently started. By the way, I'm using Alpha Anywhere version 4.3. I have a UX with a repeating section. The first field within the repeating section is a text field with the lookup option enabled with the edit-combo list selected as the type. When I change the value of this field (called Sales Code), I want it to set the value of a field on the current row of the repeating section to 1 if the value is currently not 1. It is not working so I am testing to make sure that it is getting the current row number and returning an alert to me on the screen to show me that row number. It always returns 1 as the row number even if I am not on row 1. Here is the JavaScript that is running when I change the value of this field:
Also, I tried using this same code on another field in the repeating section that does not have any type of smart control enabled such as the lookup option and it works perfectly on that field.
Another issue that is not a huge deal right now, but is strange, is that ever since upgrading to version 4.3, any fields that have smart controls in them such as lookups or calendar/time controls are not displaying with the style set for the field. For example, in the repeating section above, the Sales Code field that has the lookup option enabled has a style set to Arial 12 pt font and color of navy blue. However the text is not displaying in that font size or that color. Unsure if the font name is displaying correct or not (probably is correct but maybe that is by default).
Any help that anyone can provide would be great! Thank you in advance.
Code:
var RowNum = {dialog.Object}.getRepeatingSectionActiveRow('REPEATINGSECTION_7'); alert('Row # = '+RowNum;
Another issue that is not a huge deal right now, but is strange, is that ever since upgrading to version 4.3, any fields that have smart controls in them such as lookups or calendar/time controls are not displaying with the style set for the field. For example, in the repeating section above, the Sales Code field that has the lookup option enabled has a style set to Arial 12 pt font and color of navy blue. However the text is not displaying in that font size or that color. Unsure if the font name is displaying correct or not (probably is correct but maybe that is by default).
Any help that anyone can provide would be great! Thank you in advance.
Comment