Hi
I am looking for a solution to my problem.
I retrieve a very long string from a database field and in this string might be a collection of predefined identifiers that I search for and if I find these 'sub string' identifiers I need to replace them with their associated Form Elements which are stored in a collection of include files.
i.e. if i find {TA} in the string I need to replace that with an include file which is essentially a TextArea field.
If i find {CB} is replace this with the include file which is a CheckBox.
Is there a way to achieve this? I don't think it's possible to do a str_replace but the replacement is an include file is it??
Many Thanks