Ticket #91 ( Closed )

Short Description more access to HTML tags needed
Entered By: PeteL When: 1998-07-14 10:45:37 Build: 1.03.18e
Categories Type: Suggestion   Department: Product   Category: HTML Generation
Description
although the immediate need for an onSubmit exit should be nullified if the CRLF issue we've been discussing can be handled, it is apparent that more access the generated tags is needed, since that's where all the JS functionality is being added. some things can be added after-the-fact, but some others are just much cleaner being placed directly into the tag. one such thing is the onSubmit handler, which should go in the FORM tag. If TEFORM could handle raw text like the TEBODY (and maybe it can), this would take care of it. In general, it seems like being able to alter generated HTML is a global need (other problem already entered was just for the TEAREA tags, this one is just an expansion of that).
Append By: WindSurfer  When: 1998-07-15 08:10:44  New Status: Pending Customer
Comment An onSubmit handler can be added to the TEFORM tag by coding as:
<TEFORM Extra='onSubmit="MyFunction()"'>
Append By: PeteL  When: 1998-07-15 08:23:57  New Status: Pending IE
Comment i guess i haven't been paying attention, but i still am using - does TEFORM do the same stuff and is it available in what i am running now? it looks familiar, but i have only had the time to look at stuff that's directly applicable to my problems (sorry for being so self-centered!)
Append By: PeteL  When: 1998-07-15 08:32:31  New Status: Pending IE
Comment answered my own question, it is there now and does appear to generate the exact same stuff. i'll be playing with it, and thanks. any reason to keep this open, ie. are there other tags that could benefit from this that could be addressed at a less-hectic pace? otherwise i'll close it and keep the one open for TEAREA changes.
Append By: WindSurfer  When: 1998-07-15 08:32:41  New Status: Pending Customer
Comment TEFORM was just added primarily for the ability to add stuff into the FORM tag with an all new parsing object. The TEMACRO tag parser is one of the oldest in the product, and it is difficult to add new attributes in a flexible manner.

I'm not sure if it is even completely documented yet...just checked, and it is...current docs refresh is at ftp://ftp.ieinc2.com/pub/surfer/surfdocs.zip.

Unzip the above into the \screensurfer\hostserver\docs directory to get the latest documentation versions. "tempscrn.html" has the documentation on TEFORM in it.

By the way, I've just added the support for escaped characters in expressions. You can escape any character, including the apostrophe and quotation marks...also can use \n for CRLF.

One bugaboo is that if you have any real backslashes, you now need to double them up or they will disappear.

Append By: PeteL  When: 1998-07-15 08:48:23  New Status: Pending IE
Comment does that include the expression used within the TEFORM EXTRA="jdflsf" ?? (and is that available to me yet?)
Append By: WindSurfer  When: 1998-07-15 09:02:53  New Status: Pending Customer
Comment Yes, all expressions now support escaping any character, with the three biggies the \', \" and \n.

And is available at ftp://ftp.ieinc2.com/pub/surfer/t1_3_19a.zip

Append By: PeteL  When: 1998-07-15 11:16:30  New Status: Pending IE
Comment this expression may not be entirely correct, but it generated a strange error:
<TEFORM Extra='onSubmit="alert(\'got here\');splitScratchPad()"'>
generated
Expression cannot have two values without an operation between them!
with the following copy of the expression:
<TEFORM Extra='onSubmit="alert(\M'got here\');splitScratchPad()"'>
notice the extra "M"
Append By: PeteL  When: 1998-10-27 07:57:35  New Status: Closed
Comment whatever my original problem was here, i have gotten beyond it, so i'm closing this record