I am a new R5 Developer. I've some problems about coding in a form. I 'm creating a form that has 4 Buttons ( Field name B1 , B2 , B3, B4 ) and 4 RichText Fields ( Field Name RT1 , RT2 , RT3, RT 4 for keeping an attachment file ) . Here's the formula for when users click on each button, example for field B1 and RT1:
@Command([EditDocument];"1"); @Command([EditGotoField];"RT1"); @Command([EditInsertFileAttachment])
I need to show only B1 and RT1 ( hide any button & any RichTextField ) when user click B1 for attaching a file in RT1. I need to display B2 and RT2 ( hide B3 , RT3, B4 , RT4 ), and when user clicks a B2 for attach a file in RT2. I need to display B3 and RT3 ( hide B4 , RT4 ) and when user clicks a B3 for attach a file in RT3, I need to display B4 and RT4 for attach a file in RT4. Please recommend the way to do this. Thanks very much.
This was first published in October 2001