- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Jodi,
I know this is a old reply but i thought I give you some pointers.
Reviewing your code, I noticed the if statement is a little off. you state in the variable it is type is "Contracttype.rawValue", so in your beginning if statement, your saying Contracttype.rawValue.rawValue = "text1".
it should be ~ if (type == "text1"){
I assume you know the difference between rawValue and formattedValue. anyway, i think the blank is what is hurting you also when it comes to the add item.
all if statements should contain two equals signs.
Views
Replies
0 Likes
Total Likes