'Tables' seemed the most appropriate section to post this in.
I have an idea about storing blocks of HTML code as the Default Value in a Long Text field (for an application that'll allow me to cherry-pick blocks of code for compiling web pages). And I've been trying it out (placing the HTML code in between =" and " in the Default Value field). If I use fairly bog-standard HTML code (paragraph start and end tags, list start and end tags, etc), this seems to be possible, technically. However, there are some other blocks of code that I'm trying that give rise (when I try to paste the code into th Default Value's 'Expression Builder' and click on 'OK') to error messages. The error messages I've seen so far are :
"The expression you entered has an invalid date value."
"The expression you entered contains invalid syntax. You may have entered an operand without an operator."
I've systematically tried to identify what elements of the code might be triggering these errors, but am getting nowhere with that. For example, one of the error messages mentions an "invalid date value"; but I can't see what part of the code might trigger that error message.
Has anyone had any experience of this, and perhaps know a workaround ?
EDIT :
It might well be that the error message about the 'invalid date' is triggered by font color="#000000". That is, TWO hash-tags and a date or reference to a date field are expected, in the 'Expression Builder'.
I have an idea about storing blocks of HTML code as the Default Value in a Long Text field (for an application that'll allow me to cherry-pick blocks of code for compiling web pages). And I've been trying it out (placing the HTML code in between =" and " in the Default Value field). If I use fairly bog-standard HTML code (paragraph start and end tags, list start and end tags, etc), this seems to be possible, technically. However, there are some other blocks of code that I'm trying that give rise (when I try to paste the code into th Default Value's 'Expression Builder' and click on 'OK') to error messages. The error messages I've seen so far are :
"The expression you entered has an invalid date value."
"The expression you entered contains invalid syntax. You may have entered an operand without an operator."
I've systematically tried to identify what elements of the code might be triggering these errors, but am getting nowhere with that. For example, one of the error messages mentions an "invalid date value"; but I can't see what part of the code might trigger that error message.
Has anyone had any experience of this, and perhaps know a workaround ?
EDIT :
It might well be that the error message about the 'invalid date' is triggered by font color="#000000". That is, TWO hash-tags and a date or reference to a date field are expected, in the 'Expression Builder'.
Last edited: