copy_id ?

11 views
Skip to first unread message

Jean-Baptiste Bonnet

unread,
Aug 20, 2014, 2:33:26 PM8/20/14
to zena...@googlegroups.com

Hi list,

 

I  am trynig to use the “copy_id” special attribute to copy existing values of a node to a new one:

 

<r:new klass='product'>

                <r:form>

                               <r:input name='title' value='[title] copy'/>

                               <r:input name='price' value='[price] copy'/>

                               <r:input type='hidden' name='copy_id' value='57'/>

                               <r:input type='submit'/>

                </r:form>

</r:new>

 

57 is an existing “product”

All I get is “[title] copy” and “[price] copy” as values in my input fields… what am I doing wrong?

 

Thanks!

 

Reply all
Reply to author
Forward
0 new messages