xtrim Posted August 17, 2003 Posted August 17, 2003 Hi I got a simple <text> & <text1> input fields (which are working perfectly) on my cdml page. When I try to insert an [fmp-if:test.eq.1]<text>[fmp-else]<text1>[/fmp-if], everything is also working perfectly.... BUT, when I try to save I got a 102 erroe (which is field missing), but it is all there and you can see on screen the data of those fields. To make a long story short <text> - working [fmp-if...] <text> [/fmp-if] - I cannot save but data is displayed correctly. any ideas??
Leb i Sol Posted August 19, 2003 Posted August 19, 2003 we need to talk a bit about your definition of > when I try to save "save"....< save what? insert record? save the file.html? post some more and perhaps we save a few walls from your head ;-) All the best!
xtrim Posted September 19, 2003 Author Posted September 19, 2003 Hi sorry for the late reply... I ment "submit" and not save. Every time I insert an [fmp-if] in portal then I get the same result-> error on submit. what could it be???
xtrim Posted September 19, 2003 Author Posted September 19, 2003 Here you go (I'll give you the general idea because i'm not at home...): [FMP-Portal:DB1] [fmp-if:test.eq.1]<textbox for db1::field1>[fmp-else][fmp-field:DB1::field][/fmp-if] [/FMP-PORTAL] -submit -clear And one more thing - If I remove the IF statement and leave the textbox then it is working fine
Anatoli Posted September 19, 2003 Posted September 19, 2003 IMHO -- IF can be evaluated in response page, not on the same page as submit is.
xtrim Posted October 9, 2003 Author Posted October 9, 2003 Could you please explain what do you mean?
Garry Claridge Posted October 10, 2003 Posted October 10, 2003 What does the page source look like after it is loaded into a browser? All the best. Garry
Anatoli Posted October 12, 2003 Posted October 12, 2003 IF usually cannot process on the submit page. Only if the submit page has IF as result of previous page query, then such IF will be processed by WC. Generally speaking -- if you see the IF in source code of your page, WC didn't processed that IF condition.
Recommended Posts
This topic is 7782 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now