Questions tagged [custom-field-type]
68 questions
10
votes
2 answers
Symfony Choice type with disabled options
Is there any way with Symfony to render a
![](../../users/profiles/1460905.webp)
Flo Schild
- 4,540
- 2
- 34
- 51
4
votes
2 answers
Creating Custom Field Types with Additional Column Settings
I am trying to create a Custom Field Type which is same as Multiple lines of text field with the following additional:
It has one extra text box in the Additional Column Settings section when creating the question
alt text…
![](../../users/profiles/165066.webp)
Vijay
- 2,113
- 4
- 26
- 39
4
votes
1 answer
How to access other model instance fields from to_python in a custom Django field implementation
How can I access the model instance from a custom Django model field's to_python call?
When I overrode pre_save, for example, I had model_instance as one of the arguments.
to_python only receives the value.
How can I do something like:
def…
![](../../users/profiles/159241.webp)
Harel
- 1,751
- 2
- 22
- 39
4
votes
0 answers
Modify the XSLT list view for custom field type on Sp2013 in order to customize the totals rendering (Count, Sum, Average etc) - possible SP2013 bug?
Just wondering if there is a way through which I could modify the XSL templates for a list view rendering which includes a custom field type, in order to customize the totals row in the view. Recently, I created such a simple custom field type,…
![](../../users/profiles/674700.webp)
Alex Filipovici
- 29,732
- 5
- 50
- 76
4
votes
1 answer
Custom field type to replace MultiLookup in Sharepoint 2010. Where to inherit from?
I am developing a custom field type which should look like a MultiLookup (two Listboxes, "add" and "remove" - Buttons). But I do not want to save that data in the List that contains the field. In other words: There should be happening completely…
![](../../users/profiles/680026.webp)
Ole Albers
- 7,645
- 7
- 56
- 130
3
votes
0 answers
Magento 2: How do I create widget with dynamic fields?
Example of widget's dynamic fields:
Please help!
![](../../users/profiles/783850.webp)
valir
- 321
- 3
- 10
3
votes
1 answer
How to create custom form type in symfony 4?
I was trying to create a custom form type with it's own template view via Symfony 4 Documentation but I got a lot of errors by searching and trying to create one.
Here is my custom form type file ImageChoiceType.php:
![](../../users/profiles/5852708.webp)
Soheil
- 549
- 1
- 5
- 17
3
votes
1 answer
Symfony Form Type with multiple input fields
With Symfony 2.1, how can I create a form type with multiple input fields in it?
So in the form builder I want to add a custom form type :
$builder->add('test','my_fieldtype')
Then if I do this in the template :
{{ form_row(form.test) }}
I want…
![](../../users/profiles/374914.webp)
Aaike
- 246
- 7
- 15
2
votes
2 answers
Saving multiple checkbox meta data WordPress
Code works!
I have two custom post types: Events and Artists. I'm using WPAlchemy MetaBox PHP class , trying to create a metabox with a series of dynamically created checkboxes (i.e. there will be a checkbox for each Artists post) in the Events post…
![](../../users/profiles/220761.webp)
HandiworkNYC.com
- 10,184
- 23
- 85
- 145
2
votes
1 answer
Drupal 8: Correct way to render an custom entity and its custom field?
In my module, I have a custom entity LocationEntity and it uses a custom field type CoordinateItem which has 2 sub fields X, Y.
So what is the correct way of Drupal 8 to:
1) Render this LocationEntity in a twig template?
What I'm doing is just send…
![](../../users/profiles/609635.webp)
Minh Kiet
- 131
- 1
- 2
- 5
2
votes
1 answer
SharePoint2013 Custom Field Type: getElementById doesn't work when textbox's ClientIDMode set to AutoID
I created a Custom Field Type with one textbox and one button.
on…
![](../../users/profiles/2949680.webp)
zahra rahimi
- 41
- 2
2
votes
0 answers
Custom fields with mongoid
I started to use the mongoid gem in my project, and I'm a little confused about how it store and get the information on the database. I have fields of specifics types in my models, but when I get it from the DB it returns a Hash.
Here is my…
![](../../users/profiles/1715130.webp)
lucianthomaz
- 185
- 3
- 13
1
vote
1 answer
Save value of custom field type
I am new to SharePoint developement and have a few startup problems which I hope you will help me with.
I am trying to make a custom field type and I am using WPS builder to create the project. Right now I have the following files which are all…
![](../../users/profiles/1012636.webp)
7heViking
- 6,055
- 10
- 44
- 83
1
vote
0 answers
Custom Field in Sharepoint 2010 with multiple Link and Asset Picker
I'm looking for a solution for a problem...
I need a Sharepoint Field wich contains multiple link, stored in a simple way (like ';' separation).
Does anybody know if there are project 'bout custom field with multiple link and Asset picker to choose…
![](../../users/profiles/530384.webp)
Ziba Leah
- 2,373
- 7
- 38
- 59
1
vote
1 answer
sharepoint 2010. SPField set control for edit and preview
I need to add custom editor for my created sharepoint field.
How can i set control both for edit mode and preview mode. Will be two different controls!
I found that i can override FieldRenderingControl.
But how to determine that current mode is…
![](../../users/profiles/508330.webp)
Ievgen Naida
- 3,596
- 6
- 64
- 117