Hi All,
please help me in this regard its really urgent. I have a module in which i can add fields to a membershiptype by selecting a type for the field like text or list etc. So after adding feilds if its a list i will add list items also. Now suppose there are FieldType1, FieldType2, FieldType3 as the fields added and 2 are of type text and one is of type list now i need to generate a template which has the following structure.
FieldType1 TextBox "if its a text datatype filed with the value as specified while adding fields by default will be a default value"
FieldType2 TextBox
FieldType3 ListBox since it is of type list and the items in it.
This is somewhat similar to adding properties to a profile and managing them.
Now i have generated corresponding tags and added html and retrieved it through the string and am showing when clicked on preview.
But this is admin part. The users can select this kind of template and add values to the corresponding fields and update it. Now this view is being showed as a html string which sits on a placeholder. But how do i get and insert the values because the text boxes etc everything are of type html. Is there any other way to do this. please respond thx.
I hope u got it .MembershipType is just a structure which can be used by lots of users who can enter their values.
Is there any other way to do it. If so help me with some sample code snippets. Now its neck tight for me.
Thanks,
Sandeep.M