Custom Field Type - Text box with Add More using JQuery
Hi All,
I have a requirement to craete a new Field Type fpor contour.. basic functionality of the field type is a textbox with Add More button.. which allows the user to add more textboxes to enter data..
Custom Field Type - Text box with Add More using JQuery
Hi All,
I have a requirement to craete a new Field Type fpor contour.. basic functionality of the field type is a textbox with Add More button.. which allows the user to add more textboxes to enter data..
Something similar to this http://www.mkyong.com/wp-content/uploads/jQuery/jQuery-add-remove-textbox.html
When the user click submit button all the value should be saved as comma seperated value to database..
I am very new to Umbraco.. any help on this matter is greatly apprecaited..
Regards,
Anz
Hi All,
I am almost ready with first version of the above mentioned control..
Can anyone please tell me whats the purpose of RenderPreview and RenderPreviewWithPrevalues functions?
Best Regards,
Anz
Hi Anz,
These methods are called to render the field in the form design mode.
The RenderPreview let's you define a markup for the field to display in designer
The RenderPreview let's you define a markup with prevalues if your fieldtype supports prevalues.
I recommend you have a look at the sharde source : http://our.umbraco.org/projects/developer-tools/umbraco-contour-shared-source
You will find some examples there. Look at the dropdown to see examples of both methods.
is working on a reply...