» Home » Field » Page 1
Drupal Hierarchical Select field as required field on user profile with Custom Field Permissions
Category : Web Design

Here is the scenario:

I created a field Categories on users profile with widget type HS
This field is required but it can only be edited by a specific role e.g. 'Teacher'
To do this, I used Custom permissions on field
configuration form where only "Teacher" role is allowed to Edit and
create value for this field Categories.
But when I edit the profile of norm

View Replies

Need to get a field editable depending on a field content in EXT.NET. Get this.field.msgTarget is null or not an object error
Category : Programming Languages

I try to use your example to dynamically add/remove editor and get this error:
this.field.msgTarget is null or not an object error. I'm new to the ext.net - could somebody help me?

this is my code:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditExample.aspx.cs" Inherits="myApp.EditExample

View Replies

Convert Char field to Date field and remove time from the field name
Category : Databases

I am using the following command to remove the time from the date field:

SELECT CONVERT(VARCHAR(10), FieldValue,101) FROM table

FieldValue is a char field, but has a date i.e. 2012-09-30 00:00:00

The above command returns 2012-09-30, but I need it to be 09/30/2012

Any idea what I ne

View Replies

MySql Query If Field equals Field in different table update different field
Category : Coding

I have got two tables. I want to update MODEL in table2 when ITEM in table1 equals ITEM in table2.

Any Ideas?

View Replies

Drupal Views - Hide a Field if annother Field is not empty? / Show a Field unless its empty, then show a differnt Field?
Category : Web Design

With Drupal Views, how can I hide a Field if another Field is not empty? In other words, how can I show a Field unless its empty, then show a different Field?

I have the following;

fieldA - text for field A in Node 1
fieldB - text for field B in Node 1

fieldA - (empty)
fieldB - text for field B in Node 2

I want to s

View Replies

Observer Field: Autofill field when selecting another field
Category : Programming Languages

Here's my existing code:

<% form_for(@match) do |f| %>
<%= f.error_messages %>
<%= f.text_field(:name) %>
<label>OR email address</label>
<%= f.

View Replies

compile error:A field initializer cannot reference the non-static field, method, or property
Category : Programming Languages

when i compile the code below the compiler give the error:A field initializer cannot reference the non-static field, method, or property in this code(which have stars)

KingPiece kingPiece = new KingPiece(***siyahsah1***,ChessColor.White);

can anyone help me?

class PiecePosition
public enum ChessColor

View Replies

Confirm password field not validating using 'repeated' field using form builder in symfony2 ?
Category : Coding

This is how my code snippet looks like.

// --- this is the code in my controller ----

$registrationForm = $this->createFormBuilder()
->add('password', 'repeated', array('type' => 'password', 'invalid_message' => 'Passwords do not match'))

View Replies

require text field when a drop-down field is selected using jQuery validate plugin
Category : Web Design

I am trying to require the first name field if the a select/drop-down field is selected, using the jQuery validate plugin http://docs.jquery.com/Plugins/Validation

I know how to accomplish this using a checkbox, but I don't know how to do the same with a drop-down box

You'll see what I am trying to accomplish here http://jsfiddle.net/SupTT/2/

Also, how would

View Replies

Changing the field appearance after making enable = “false” to that field?
Category : Programming Languages

I am trying to make enabled="false" to one form field in my flex application. But the appearance of the field after disabling it
is looking furious. I want to change the look of the field after disabling it in my way. So can i change the look and feel of a field after disabling it ?

Thanks in advance...

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .