I do have a requirement to convert a word docment into smartform with a submit button. Word document has a lot of text, numbers as well as links. It also has formatting like bullets, bold and italic. I am wondering what control on views will best fullfill the requirements. If I will take a lot of Textarea control, will it have impact on form loading?
Solved! Go to Solution.
I recommend using a Text Area or Rich Text control to do this. The Rich Text Control can keep the bullets and formatting you would like, but will have a little bit higher load.
Text generally isn't too performance heavy, so a Text Area would probably work just fine.
Thank you for getting back. Since I need to write all the text in the smartform. User will just read all the information and click on I agree button. I tried to take rich text box as well as Textarea control. But I am not able to enter text in the box itself. I entered data in 'Text' field in properties of textarea and in 'HTML' field in properties of Richtext box. But both of these has number of characters limitation.
Is there a way I can enter the text in texbox or rich text directly?
It is a 8 pages word document that needs to convert into smartform and user needs to read all the text and click on I agree button only.
Looking for suggestions.
I have a few possible solutions based on your requirments. I have however added multiple solutions as you can have a look at them to determine which will be the best for your design. My solution are focussed on the RichText control and the Image attachment control as I think that they will work the best for identified scenario.
Adding text data from the word document to the richtext control manually in order to identify the text data's html format, which can then be used to call the text data as is.
Negative affects: The styling and image formatting will be lost. This can however be readded directly to the text in the RichText control prior to preforming step 6 of solution 1 manually.
Once Step 6 is preformed the HTML had been captured, therefore if there are any additional changes made to the text in the RichText control the HTML would first need to be recaptured and replaced with the HTML data from the RichText control properties. If this is not done then the changes will not stick and will dissapear when the view is reloaded.
How to add the Images:
Simply copy and paste the images from the word document to the RichText control.
How to add the Text formatting:
You can use the RichText controls tools to re-add the formatiing as required.
I tested this scenario with a word document containing 16 pages and the results was satifactory.
Should you want the controls in the RichText control to be invisible to the the usercustomer then you can apply the below setting to the RichText control post preforming the above steps for solution 1.
Ensure that the "Read Only" property for the RichText control is Checked.
Ensure that the "Design View" property for the RichText control is Unchecked.
Add pdf file to the item view, allowing the usercustomer to view or save the pdf file.
I also tested this scenario and the results was satifactory however solution 1 seems to be the best option based on your requirements but solution 2 will also do the job.
Note: Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such using the 'Mark as Solution' and 'Kudo' options.
Thank you Raymond for detailed solutions. I appreciate your help.
It worked. The only thing was, in Internet explorer, view was not taking complete HTML code (that was copied from runtime). But it worked perfectly in Chrome.
Thank you very much!
Good Day Msharma
I am glad that the provided solution was able to resolve the issue you have been running into. I went the exra mile by creating a KB article for this as well should someone else run into the same issue they would have exact step to follow in order get passed the underlining issue.
The KB article can be accessed from here and addresses the neccessary content:
Note: Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such using the 'Mark as Solution', 'Kudo' andor ‘Me Too’ options.