M
|
mhollibush author 12/30/2019 |
I thought I had it, but still not working
|
W
|
WilliamBDevClub member 12/30/2019 |
I think this should work. if ($values["thumbpic"]=="") { |
M
|
mhollibush author 12/30/2019 |
I think this should work. if ($values["thumbpic"]=="") {
|
M
|
mhollibush author 12/30/2019 |
I was wrong... |
A
|
acpan 12/30/2019 |
Read the help, it states that:
|
M
|
mhollibush author 12/30/2019 |
Read the help, it states that: $value - a value to be displayed on the page. Example: $value = strtoupper($value); $data - array with all field values. Example: $value = $data["FirstName"].$data["LastName"]; where FirstName and LastName are actual field names. So your $values is NOT DEFINED. Only $value and $data array variebles available.
|
A
|
acpan 12/31/2019 |
>Still not working... does it make a difference if the default value of the field is "NULL"? |
M
|
mhollibush author 12/31/2019 |
ACP, |
A
|
acpan 12/31/2019 |
No worries, mark. Glad you figure out. |
M
|
mhollibush author 12/31/2019 |
It's not completely fixed at this point... |
A
|
acpan 12/31/2019 |
Likely you have echo command somewhere in the events or wrong place. Because of that echo, it interrupts the page loading and cause the fonts to be big, this is common behavior when you echo at the place you should'nt. It's not completely fixed at this point... for some strange reason - it throws the "no_image" in the upper left corner of the site instead of the assigned field. Also the font of the site gets extremely large.. |
M
|
mhollibush author 12/31/2019 |
|