Message 1 of 2

Not applicable
07-23-2013
02:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
Fisrt of all: i'm a starter working with iLogic, forms and rules.
I'm trying to make a rule to force users to fill in certain iProperties before saving.
Looking around on the internet I found a rule that works fine, except it checks only for empty spaces, so doesn't show up if they are filled.
What I want, is to edit the rule so that the form always shows when saving, but still pops up when the user has an empty space but hits ok. Just so people are made aware of what they filled in in the first place.
Code:
Manager = iProperties.Value("Summary", "Manager") Desc = iProperties.Value("Project", "Description") Partnr = iProperties.Value("Project", "Part Number") Keywords = iProperties.Value("Summary", "Keywords") Engineer = iProperties.Value("Project", "Engineer") Scale = iProperties.Value("Custom", "Scale") Descr1 = iProperties.Value("Custom", "Descr1") Drwnr = iProperties.Value("Custom", "Drawing number") Do Until String.IsNullOrWhiteSpace(Manager) = False And String.IsNullOrWhiteSpace(Desc) = False And String.IsNullOrWhiteSpace(Partnr) = False And String.IsNullOrWhiteSpace(Keywords) = False And String.IsNullOrWhiteSpace(Engineer) = False And String.IsNullOrWhiteSpace(Scale) = False And String.IsNullOrWhiteSpace(Descr1) = False And String.IsNullOrWhiteSpace(Drwnr) = False iLogicForm.Show("iPropchecker", FormMode.Modal) Manager = iProperties.Value("Summary", "Manager") Desc = iProperties.Value("Project", "Description") Partnr = iProperties.Value("Project", "Part Number") Keywords = iProperties.Value("Summary", "Keywords") Engineer = iProperties.Value("Project", "Engineer") Scale = iProperties.Value("Custom", "Scale") Descr1 = iProperties.Value("Custom", "Descr1") Drwnr = iProperties.Value("Custom", "Drawing number") Loop
Thanks
Solved! Go to Solution.