Jump to content

This topic is 7985 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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?

Posted

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

Posted

Hmmm...such a small detail & works like a charm... smile.gif

Will it work in a portal with "x" values/rows ?

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.