Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
replicant readonly
rodigz
hi there,
how to set replicant values into readonly fields?
regards
Find more posts tagged with
Comments
Adam Stoller
Please try to provide more details.
1. What version of the product are you using? 4.x, 5.5.2 SP-?, 6.0, 6.1 SP-?, 6.5 SP-?
2. What are you trying to do?
-- Do you want to set certain fields in all instances of a replicant to be read-only from the start?
-- Do you want to set certain fields in all instances of a replicant to be read-only after some "event"?
-- Do you want to set certain fields in certain instances of a repliacent to be read-only? Based on what critieria?
-- Do you want to set all fields in certain instances of a replicant to be read-only? Based on what critieria?
-- Something else -- provide as much detail as possible.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
rodigz
the version teamsite 5.5.2
I have a replicant which contains textbox and textbox with call-out. Basically I want the call-out textbox readonly.
From start I want the fields readonly users can only change the value through the call-out.
thanks.
Adam Stoller
In 5.5.2 this may be a bit complex - because I think if you define the text field associated with the callout as read-only the callout is itself disabled (if I'm wrong - then it's trivial - just define the text field associated with the callout as read-only ;-) - and there's no explicit FormAPI replicant event handling in 5.5.2 (not until 6.5)
I believe you can put a generic FormAPI event handler on the replicant path (e.g. "/path/to/replicant") which I think will allow you to define a function that will set the text-field to be read-only on the fly.
If you search through the forums (probably using someting like "replicant callout read only" for the term and "AND" for the operator) you may be able to find a bunch of examples that go further into details.
If you manage to upgrade to 6.5 - you'll get additional FormAPI functions for handling replicants which will make your life significantly easier (at least in this regard).
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com