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 20918 Jan 30, 2013, 7:20 AM
Thread Re: [katakombe] Problems with modifications
Andy 20540 Jan 30, 2013, 8:47 AM
Thread Re: [Andy] Problems with modifications
katakombe 20513 Jan 30, 2013, 8:53 AM
Post Re: [katakombe] Problems with modifications
Andy 20517 Jan 30, 2013, 9:09 AM
Thread Re: [katakombe] Problems with modifications
eupos 20564 Jan 30, 2013, 9:14 AM
Thread Re: [eupos] Problems with modifications
katakombe 20506 Jan 30, 2013, 9:32 AM
Thread Re: [katakombe] Problems with modifications
eupos 20531 Jan 30, 2013, 9:49 AM
Post Post deleted by katakombe
katakombe 20529 Jan 30, 2013, 10:00 AM
Thread Re: [eupos] Problems with modifications
katakombe 20470 Jan 30, 2013, 10:08 AM
Thread Re: [katakombe] Problems with modifications
eupos 20472 Jan 30, 2013, 10:52 AM
Thread Re: [eupos] Problems with modifications
katakombe 20489 Jan 30, 2013, 8:26 PM
Post Re: [katakombe] Problems with modifications
eupos 20363 Jan 30, 2013, 10:02 PM
Thread Re: [katakombe] Problems with modifications
brewt 20323 Jan 31, 2013, 4:46 PM
Thread Re: [brewt] Problems with modifications
eupos 20284 Jan 31, 2013, 4:53 PM
Thread Re: [eupos] Problems with modifications
brewt 20303 Jan 31, 2013, 8:45 PM
Thread Re: [brewt] Problems with modifications
eupos 20269 Jan 31, 2013, 9:30 PM
Thread Re: [eupos] Problems with modifications
brewt 20041 Feb 1, 2013, 12:51 PM
Post Re: [brewt] Problems with modifications
eupos 20070 Feb 1, 2013, 12:55 PM
Post Re: [brewt] Problems with modifications
VishalT 20018 Feb 1, 2013, 5:42 PM
Thread Re: [brewt] Problems with modifications
Andy 19916 Feb 2, 2013, 12:34 AM
Thread Re: [Andy] Problems with modifications
brewt 4272 Feb 4, 2013, 11:40 AM
Post Re: [brewt] Problems with modifications
Andy 4221 Feb 4, 2013, 11:44 AM
Post Re: [brewt] Problems with modifications
LordStryfe 4096 Feb 21, 2013, 7:14 PM
Thread Re: [brewt] Problems with modifications
katakombe 20266 Feb 1, 2013, 6:36 AM
Thread Re: [katakombe] Problems with modifications
Andy 20122 Feb 1, 2013, 8:01 AM
Thread Re: [Andy] Problems with modifications
katakombe 20149 Feb 1, 2013, 8:08 AM
Post Re: [katakombe] Problems with modifications
eupos 20108 Feb 1, 2013, 8:17 AM
Post Re: [katakombe] Problems with modifications
eupos 20137 Feb 1, 2013, 8:06 AM