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 20909 Jan 30, 2013, 7:20 AM
Thread Re: [katakombe] Problems with modifications
Andy 20532 Jan 30, 2013, 8:47 AM
Thread Re: [Andy] Problems with modifications
katakombe 20505 Jan 30, 2013, 8:53 AM
Post Re: [katakombe] Problems with modifications
Andy 20508 Jan 30, 2013, 9:09 AM
Thread Re: [katakombe] Problems with modifications
eupos 20556 Jan 30, 2013, 9:14 AM
Thread Re: [eupos] Problems with modifications
katakombe 20497 Jan 30, 2013, 9:32 AM
Thread Re: [katakombe] Problems with modifications
eupos 20523 Jan 30, 2013, 9:49 AM
Post Post deleted by katakombe
katakombe 20521 Jan 30, 2013, 10:00 AM
Thread Re: [eupos] Problems with modifications
katakombe 20462 Jan 30, 2013, 10:08 AM
Thread Re: [katakombe] Problems with modifications
eupos 20464 Jan 30, 2013, 10:52 AM
Thread Re: [eupos] Problems with modifications
katakombe 20481 Jan 30, 2013, 8:26 PM
Post Re: [katakombe] Problems with modifications
eupos 20355 Jan 30, 2013, 10:02 PM
Thread Re: [katakombe] Problems with modifications
brewt 20315 Jan 31, 2013, 4:46 PM
Thread Re: [brewt] Problems with modifications
eupos 20276 Jan 31, 2013, 4:53 PM
Thread Re: [eupos] Problems with modifications
brewt 20295 Jan 31, 2013, 8:45 PM
Thread Re: [brewt] Problems with modifications
eupos 20261 Jan 31, 2013, 9:30 PM
Thread Re: [eupos] Problems with modifications
brewt 20032 Feb 1, 2013, 12:51 PM
Post Re: [brewt] Problems with modifications
eupos 20062 Feb 1, 2013, 12:55 PM
Post Re: [brewt] Problems with modifications
VishalT 20010 Feb 1, 2013, 5:42 PM
Thread Re: [brewt] Problems with modifications
Andy 19908 Feb 2, 2013, 12:34 AM
Thread Re: [Andy] Problems with modifications
brewt 4271 Feb 4, 2013, 11:40 AM
Post Re: [brewt] Problems with modifications
Andy 4220 Feb 4, 2013, 11:44 AM
Post Re: [brewt] Problems with modifications
LordStryfe 4095 Feb 21, 2013, 7:14 PM
Thread Re: [brewt] Problems with modifications
katakombe 20258 Feb 1, 2013, 6:36 AM
Thread Re: [katakombe] Problems with modifications
Andy 20114 Feb 1, 2013, 8:01 AM
Thread Re: [Andy] Problems with modifications
katakombe 20141 Feb 1, 2013, 8:08 AM
Post Re: [katakombe] Problems with modifications
eupos 20100 Feb 1, 2013, 8:17 AM
Post Re: [katakombe] Problems with modifications
eupos 20129 Feb 1, 2013, 8:06 AM