KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Variable declared using 4DVAR in an HTML page is not recognized
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: June 10, 2005
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

If the variable you declared using 4DVAR using HMTL Notation <!—4DVAR MYVAR--> is not recognized such that the value assigned to it is not displayed on the web page or not received by 4D, it is possible that the ‘Use 4DVAR Comments instead of Brackets’ option is not checked. Check this option in the Web Compatibility setting in Application theme of the database preferences. If it is not checked, the old notation square brackets ([MYVAR]) is expected.