August 17, 200322 yr 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??
August 19, 200322 yr 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!
September 19, 200322 yr Author 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???
September 19, 200322 yr Author 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
September 19, 200322 yr IMHO -- IF can be evaluated in response page, not on the same page as submit is.
October 10, 200322 yr What does the page source look like after it is loaded into a browser? All the best. Garry
October 12, 200322 yr 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.
Create an account or sign in to comment