Tags:
create new tag
view all tags

SID-01178: Writing HTML into a text area input to pass as 1

Status: Answered Answered TWiki version: 5.0.1 Perl version: 5.005
Category: CategoryJavaScript Server OS: RedHat Linux 7.5 Last update: 14 years ago

Hello, I was having some trouble figuring out how to post conditional input into a table. So I wrote some javascript to write the html for each row into a textarea input that I use as a %URLPARAM% for the Comment Plugin. I put the anchor inside the table on another page. So far it is working, but are there any problems that I am not seeing that could arise out of doing it this way?

Thanks, Josh

-- JoshuaTatman - 2011-05-16

Discussion and Answer

Hi Josh,

what kind of conditional input do you have? The IF statement should work in tables too (it does with my twiki 4.3) and there is also the if condition from the SpreadSheetPlugin.

In my opinion your solution sounds good too. You should always be careful that no user can insert any harmful code into your wiki but I think thats ok in your case.

The CommentPlugin is a great tool - I like using it.

Some people do have javascript disabled in their browser, but that will bring general problems with twiki (and many other pages).

I hope that helps you, otherwise just ask smile

-- CarlaReitzenstein - 2011-06-08

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2011-08-01

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Writing HTML into a text area input to pass as 1
SupportCategory CategoryJavaScript
TWiki version 5.0.1
Server OS RedHat Linux 7.5
Web server Apache 3.0
Perl version 5.005
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2011-08-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.