Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Problems with modifications

Quote Reply
Problems with modifications
Hello!

I'm not sure is this a bug or am I doing something wrong?

I have the "Area" field in the table for links. Here is how it is defined:

==========================================
Root: /public_html/cgi-bin/admin/defs > glinks_Links.def
==========================================

Code:
'Area' => {
'file_max_size' => '',
'file_save_in' => '',
'file_save_scheme' => 'HASHED',
'file_save_url' => '',
'form_display' => 'Area',
'form_size' => '10',
'form_type' => 'TEXT',
'not_null' => '0',
'pos' => '58',
'regex' => '',
'type' => 'INT',
'weight' => ''
},

So, "INT" and it is not mandatory. When the link is sent with the "Area" field empty, registration goes without any problems. But, ... When a user attempts to modify it here's what he/she gets:

Quote:
Area cannot contain the value ''

The same link can easily be changed through the admin interface. I enclose the rest of the data:

==========================================
include_form.html
==========================================

Code:
<div class="row clear">
<label for="Area" class="name">Area m<sup>2</sup>:</label>
<div class="value">
<input type="text" id="Area" name="Area" value="<%if Area%><%escape_html Area%><%endif%>" class="text" />
</div>
</div>

==========================================
HTML (modify.cgi)
==========================================

Code:
<div class="row clear">
<label for="Area" class="name">Area m<sup>2</sup>:</label>
<div class="value">
<input type="text" id="Area" name="Area" value="" class="text" />
</div>
</div>

Does anybody know what is happening? Big thanks in advance ;)
Subject Author Views Date
Thread Problems with modifications katakombe 12587 Jan 30, 2013, 7:20 AM
Thread Re: [katakombe] Problems with modifications
Andy 12400 Jan 30, 2013, 8:47 AM
Thread Re: [Andy] Problems with modifications
katakombe 12379 Jan 30, 2013, 8:53 AM
Post Re: [katakombe] Problems with modifications
Andy 12385 Jan 30, 2013, 9:09 AM
Thread Re: [katakombe] Problems with modifications
eupos 12429 Jan 30, 2013, 9:14 AM
Thread Re: [eupos] Problems with modifications
katakombe 12367 Jan 30, 2013, 9:32 AM
Thread Re: [katakombe] Problems with modifications
eupos 12386 Jan 30, 2013, 9:49 AM
Post Post deleted by katakombe
katakombe 12382 Jan 30, 2013, 10:00 AM
Thread Re: [eupos] Problems with modifications
katakombe 12339 Jan 30, 2013, 10:08 AM
Thread Re: [katakombe] Problems with modifications
eupos 12334 Jan 30, 2013, 10:52 AM
Thread Re: [eupos] Problems with modifications
katakombe 12305 Jan 30, 2013, 8:26 PM
Post Re: [katakombe] Problems with modifications
eupos 12227 Jan 30, 2013, 10:02 PM
Thread Re: [katakombe] Problems with modifications
brewt 12170 Jan 31, 2013, 4:46 PM
Thread Re: [brewt] Problems with modifications
eupos 12139 Jan 31, 2013, 4:53 PM
Thread Re: [eupos] Problems with modifications
brewt 12150 Jan 31, 2013, 8:45 PM
Thread Re: [brewt] Problems with modifications
eupos 12127 Jan 31, 2013, 9:30 PM
Thread Re: [eupos] Problems with modifications
brewt 11901 Feb 1, 2013, 12:51 PM
Post Re: [brewt] Problems with modifications
eupos 11930 Feb 1, 2013, 12:55 PM
Post Re: [brewt] Problems with modifications
VishalT 11880 Feb 1, 2013, 5:42 PM
Thread Re: [brewt] Problems with modifications
Andy 11769 Feb 2, 2013, 12:34 AM
Thread Re: [Andy] Problems with modifications
brewt 2284 Feb 4, 2013, 11:40 AM
Post Re: [brewt] Problems with modifications
Andy 2244 Feb 4, 2013, 11:44 AM
Post Re: [brewt] Problems with modifications
LordStryfe 2114 Feb 21, 2013, 7:14 PM
Thread Re: [brewt] Problems with modifications
katakombe 12133 Feb 1, 2013, 6:36 AM
Thread Re: [katakombe] Problems with modifications
Andy 11990 Feb 1, 2013, 8:01 AM
Thread Re: [Andy] Problems with modifications
katakombe 12007 Feb 1, 2013, 8:08 AM
Post Re: [katakombe] Problems with modifications
eupos 11980 Feb 1, 2013, 8:17 AM
Post Re: [katakombe] Problems with modifications
eupos 12006 Feb 1, 2013, 8:06 AM