Submitted by Anonymous on 2008/12/09 12:44
I can give Item field a default, but what if I want some text to either prepend or (better) wrap around new text ?
 
What would I want this? Let's say I'm creating a list of websites. And I want each item to have the icon of a globe in front of it. Currently, I would have to go back and add a globe icon to the front of each item.
 
Likewise, I might want to wrap some hyperlink tag around each added item. For instance, if I wanted each item dropped to be in particular named font.
 
 
Thanks,
Mark
 
 

Comments

Interesting application...
 
Currently, for your icon+ text, you could:
  • use a different field field and set the item default value to YourIcon & YourTextField. Apply the form to set the item field (will be applied when using this form)
  • You can also use auto-assign rules to do this: for YourField: AM:Item=YourIcon & YourField (will be applied all the time)
  • Use a separate field for the icon and combine when you export (most flexible)

Anonymous

2008/12/09 14:19

In reply to by Pierre_Admin

Hello,
 
If I'm understanding correctly, this approach would not allow you to drag and drop text (from explorer, or an external application) ... because that text always wipes out the contents of the Item field.
 
If there was a way to change the Ctl-N (or Windows-N) pop up to put text into some other field, then the auto field assignments could kick in to put the text into the Item field. But there isn't a way to change that, is there?
 
I suppose the other work around would be to use "item" in your grid as a hidden source field, with some other field becoming the displayed field. Its just that so much of IQ seems to revolve around the assumption of using the item field, that I'm not sure if its good to go in that direction.
 
Applications include placing large check boxes at the start of todo items, web icons for web link pages, little pen icons at the front of note items, etc. I've been experimenting, and it really spruces up the look to have an appropriate icon at the front.
 
-- Mark