» Home » field » Page 1
Drupal Hierarchical Select field as required field on user profile with Custom Field Permissions
by Master843 in 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

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
by scsscs in 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?
Thanks,
Jenny


this is my code:
EditExample.aspx:


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

MySql Query If Field equals Field in different table update different field
by Rafael V. Souza in Coding

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


Any Ideas?


Convert Char field to Date field and remove time from the field name
by tayles in 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


Drupal Views - Hide a Field if annother Field is not empty? / Show a Field unless its empty, then show a differnt Field?
by Justin Blanton in 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;


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


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


I want to s


Observer Field: Autofill field when selecting another field
by nasy in Programming Languages

Here's my existing code:


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

Query on one field, get list of matches “after” based on ordering on other field
by Griff in Web Design

Say I have the following table, used to get a list of delta updates from a client. When ever an article record is created, modified or deleted, a row is added to the table below.


id | article_id | uuid
---|------------|-------------------------------------
1 | 56 | 78b69fa0-480b-11e1-b86c-0800200c9a66
2 | 23 | 87c4fe60-480b-11e1-b86c-0800200c9a66

Duplicate user email input field into username field (stripping everything including and after '@')
by TCH in Web Design

I have the following form fields:


<label for="user_email"><?php _e('Your Email'); ?>: </label>
<input type="text" name="user_email" value="<?php echo esc_attr(stripslashes($user_email)); ?>" size="25" id="user_email" class="required email" tabindex="102" />
<label for="user_login"><?php _e('Username'); ?>: </label>
&l

PHP Code to add two numbers , adding happens as soon as i type the second number in the second field with the result populating in the third field
by svn in Programming Languages

PHP Code to add two numbers , adding happens as soon as i type the second number in the second field with the result populating in the third field.


Can it be done using php or we do use Ajax or other programming languages.


Would be helpful if i could get an answer for this.


Obtaining field types dynamically according to a field from another class (Using Scapy tool - Python)
by dlock13 in Programming Languages

I'm wondering how to define field types for a class dynamically according to a field from another class ???
I mean how to define and link a field from a class to another class, example:


class TemplateRecord(Packet):
name = "Template Record"
fields_desc = [ ShortField("Type", 0),
ShortField("Length", 0) ]
def extract_padding

Next



Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .