xtrim Posted March 22, 2003 Posted March 22, 2003 Hi I got some related field in my page. The problem is when I press "submit" (or the -edit func.), another record is being created in the related files. The field are [fmp-field: file::field1] The relationships are without "created related records". Any suggestions?
Garry Claridge Posted March 22, 2003 Posted March 22, 2003 Try this: <input type="text" name="file::field1.1" value="[fmp-field: file::field1]"> All the best. Garry
xtrim Posted March 22, 2003 Author Posted March 22, 2003 Hi It is exactly this way when you look at the code.... <P><INPUT TYPE=text NAME="reservations_history_Id_Id::ED" VALUE="[FMP-Field: reservations_history_Id_Id::ED]" SIZE=30></P> Still making a new record... The submit code is : <INPUT TYPE="submit" NAME="-Edit" VALUE="Edit Record"> What is wrong?
Garry Claridge Posted March 23, 2003 Posted March 23, 2003 Spot the difference: <P><INPUT TYPE=text NAME="reservations_history_Id_Id::ED" VALUE="[FMP-Field: reservations_history_Id_Id::ED]" SIZE=30></P> and <P><INPUT TYPE=text NAME="reservations_history_Id_Id::ED.1" VALUE="[FMP-Field: reservations_history_Id_Id::ED]" SIZE=30></P> Good Luck. Garry
xtrim Posted March 23, 2003 Author Posted March 23, 2003 Hmmm...such a small detail & works like a charm... Will it work in a portal with "x" values/rows ?
Garry Claridge Posted March 23, 2003 Posted March 23, 2003 Re: Will it work in a portal with "x" values/rows ? Yes, you can use: <P><INPUT TYPE=text NAME="reservations_history_Id_Id::ED.[FMP-CurrentPortalRowNumber]" VALUE="[FMP-Field: reservations_history_Id_Id::ED]" SIZE=30></P> All the best. Garry
Recommended Posts
This topic is 7985 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