Subform auto-sequencing with alpha chars

Avatar

Avatar
Validate 1
Level 1
sophiad9
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
sophiad9
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
sophiad9
Level 1

01-04-2015

Hi, can anyone help with my problem?  I need to generate autosequence in a repeated subform with alpha chars ('a)', 'b)', etc.) instead of numeric.  Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

01-04-2015

Hi,

this is not that difficult.

Assuming you have a repeatable subform names "SF" which contains a text field named "SFindex" then you can use the following script in the indexChange event of "SF".


var aChars = "abcdefghijklmnopqrstuvwxyz".split("");


SFindex.rawValue = this.index < aChars.length ? aChars[this.index] : "n/a";


Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
sophiad9
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
sophiad9
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
sophiad9
Level 1

01-04-2015

Thanks! That did the trick.